mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +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()
|
||||
);
|
||||
|
||||
println!("{}", actual);
|
||||
assert!(actual.contains("did you mean"));
|
||||
assert!(actual.contains("Unknown column"));
|
||||
});
|
||||
|
||||
h::delete_file_at(nu::config_path().unwrap().join("test_5.toml"));
|
||||
|
|
Loading…
Reference in a new issue