mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 03:34:58 +02:00
Handle not-in
operator
This commit is contained in:
10
src/tests.rs
10
src/tests.rs
@ -631,3 +631,13 @@ fn string_in_valuestream() -> TestResult {
|
||||
"true",
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn string_not_in_string() -> TestResult {
|
||||
run_test(r#"'d' not-in 'abc'"#, "true")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn float_not_in_inc_range() -> TestResult {
|
||||
run_test(r#"1.4 not-in 2..9.42"#, "true")
|
||||
}
|
||||
|
Reference in New Issue
Block a user