mirror of
https://github.com/nushell/nushell.git
synced 2025-07-02 23:51:49 +02:00
Incorrect parsing of unbalanced braces based on issue 6914 (#7621)
This commit is contained in:
@ -470,3 +470,8 @@ fn or_and_xor() -> TestResult {
|
||||
// Assumes the precedence NOT > AND > XOR > OR
|
||||
run_test(r#"true or false xor true or false"#, "true")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unbalanced_delimiter() -> TestResult {
|
||||
fail_test(r#"{a:{b:5}}}"#, "unbalanced { and }")
|
||||
}
|
||||
|
Reference in New Issue
Block a user