1
1
mirror of https://github.com/casey/just.git synced 2024-12-01 20:33:26 +03:00
just/tests/assignment.rs

31 lines
554 B
Rust
Raw Normal View History

use super::*;
test! {
name: set_export_parse_error,
justfile: "
set export := fals
",
stdout: "",
stderr: "
error: Expected keyword `true` or `false` but found identifier `fals`
|
1 | set export := fals
| ^^^^
",
status: EXIT_FAILURE,
}
test! {
name: set_export_parse_error_EOL,
justfile: "
set export := fals
",
stdout: "",
stderr: "
error: Expected keyword `true` or `false` but found `end of line`
|
1 | set export :=
| ^
",
status: EXIT_FAILURE,
}