forked from extern/nushell
Add space between column suggestions (#2586)
This commit is contained in:
parent
09429d08aa
commit
b133724b38
@ -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)
|
||||||
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user