forked from extern/nushell
SQLite overhaul: custom value, query db
command (#5247)
Clean up query errors
This commit is contained in:
@ -109,7 +109,22 @@ fn parses_more_bson_complexity() {
|
||||
// ╰───┴──────╯
|
||||
|
||||
#[test]
|
||||
|
||||
fn parses_sqlite() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
open sample.db
|
||||
| columns
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual.out, "3");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parses_sqlite_get_column_name() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
|
Reference in New Issue
Block a user