mirror of
https://github.com/nushell/nushell
synced 2024-12-27 13:33:16 +00:00
Assert the column is unknown.
did you mean in error messages appear when `get`ing unknown columns. Here we know the column does not exist so we check the exact error message.
This commit is contained in:
parent
dc4421c07d
commit
91bea7fb2a
1 changed files with 1 additions and 2 deletions
|
@ -108,8 +108,7 @@ fn removes_configuration_value() {
|
||||||
dirs.config_path()
|
dirs.config_path()
|
||||||
);
|
);
|
||||||
|
|
||||||
println!("{}", actual);
|
assert!(actual.contains("Unknown column"));
|
||||||
assert!(actual.contains("did you mean"));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
h::delete_file_at(nu::config_path().unwrap().join("test_5.toml"));
|
h::delete_file_at(nu::config_path().unwrap().join("test_5.toml"));
|
||||||
|
|
Loading…
Reference in a new issue