mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Fix strange error on unbalanced curly braces (#8906)
# Description Fixes issue https://github.com/nushell/nushell/issues/8400 # User-Facing Changes Before  After 
This commit is contained in:
committed by
GitHub
parent
4ecec59224
commit
6eb00f6c60
@ -488,6 +488,11 @@ fn unbalanced_delimiter3() -> TestResult {
|
||||
fail_test(r#"{"#, "Unexpected end of code")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unbalanced_delimiter4() -> TestResult {
|
||||
fail_test(r#"}"#, "unbalanced { and }")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn register_with_string_literal() -> TestResult {
|
||||
fail_test(r#"register 'nu-plugin-math'"#, "File not found")
|
||||
|
Reference in New Issue
Block a user