1
1
mirror of https://github.com/casey/just.git synced 2024-11-26 11:43:43 +03:00
just/tests/assignment.rs

31 lines
554 B
Rust

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,
}