forked from extern/nushell
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