Add space between column suggestions (#2586)

This commit is contained in:
Chris Gillespie 2020-09-21 19:14:11 -07:00 committed by GitHub
parent 09429d08aa
commit b133724b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View File

@ -143,6 +143,8 @@ fn errors_fetching_by_column_not_present() {
r#" r#"
[taconushell] [taconushell]
sentence_words = ["Yo", "quiero", "taconushell"] sentence_words = ["Yo", "quiero", "taconushell"]
[pizzanushell]
sentence-words = ["I", "want", "pizza"]
"#, "#,
)]); )]);
@ -165,7 +167,13 @@ fn errors_fetching_by_column_not_present() {
assert!( assert!(
actual.err.contains("Perhaps you meant 'taconushell'?"), actual.err.contains("Perhaps you meant 'taconushell'?"),
format!("actual: {:?}", actual.err) format!("actual: {:?}", actual.err)
) );
assert!(
actual
.err
.contains("Columns available: pizzanushell, taconushell"),
format!("actual: {:?}", actual.err)
);
}) })
} }