Fix tests

This commit is contained in:
Ian Manske 2024-11-24 13:32:50 -08:00
parent f23b381770
commit eda67845ff

View file

@ -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]