Fix test failure when running tests with nextest

This commit is contained in:
Jakub Žádník 2024-06-08 14:14:34 +03:00
parent 96493b26d9
commit 6a3c6075f3

View File

@ -132,7 +132,7 @@ fn hides_environment_from_child() {
$env.TEST = 1; ^$nu.current-exe -c "hide-env TEST; ^$nu.current-exe -c '$env.TEST'"
"#);
assert!(actual.out.is_empty());
assert!(actual.err.contains("cannot find column"));
assert!(actual.err.contains("column_not_found") || actual.err.contains("name_not_found"));
}
#[test]