mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Fix tests
This commit is contained in:
parent
f23b381770
commit
eda67845ff
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ fn date_minus_duration() -> TestResult {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn duration_minus_date_not_supported() -> TestResult {
|
fn duration_minus_date_not_supported() -> TestResult {
|
||||||
fail_test("2day - 2023-04-22", "doesn't support these values")
|
fail_test(
|
||||||
|
"2day - 2023-04-22",
|
||||||
|
"nu::parser::operator_incompatible_types",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue