mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:54:57 +02:00
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