mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01: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
@ -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 New Issue
Block a user