mirror of
https://github.com/nushell/nushell.git
synced 2025-04-24 21:28:20 +02:00
Fix test
This commit is contained in:
parent
38bc394a12
commit
576471cc3c
@ -658,3 +658,11 @@ fn string_not_in_string() -> TestResult {
|
|||||||
fn float_not_in_inc_range() -> TestResult {
|
fn float_not_in_inc_range() -> TestResult {
|
||||||
run_test(r#"1.4 not-in 2..9.42"#, "true")
|
run_test(r#"1.4 not-in 2..9.42"#, "true")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn earlier_errors() -> TestResult {
|
||||||
|
fail_test(
|
||||||
|
r#"[1, "bob"] | each { $it + 3 } | each { $it / $it } | table"#,
|
||||||
|
"int",
|
||||||
|
)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user