forked from extern/nushell
replace the regex crate with the fancy-regex crate (#6227)
This commit is contained in:
@ -63,12 +63,12 @@ fn where_not_works() -> TestResult {
|
||||
|
||||
#[test]
|
||||
fn invalid_regex_fails() -> TestResult {
|
||||
fail_test(r#"'foo' =~ '['"#, "regex parse error")
|
||||
fail_test(r#"'foo' =~ '['"#, "Invalid character class")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn invalid_not_regex_fails() -> TestResult {
|
||||
fail_test(r#"'foo' !~ '['"#, "regex parse error")
|
||||
fail_test(r#"'foo' !~ '['"#, "Invalid character class")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user