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:
Andrés N. Robalino 2019-09-14 14:53:31 -05:00 committed by GitHub
parent dc4421c07d
commit 91bea7fb2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"));