Merge pull request #2950 from dolthub/tim/bats-dashes-in-table-names

Skipped bats test for updating tables with dashes in the name using `dolt table import -u`
This commit is contained in:
Tim Sehn
2022-03-10 09:45:07 -08:00
committed by GitHub

View File

@@ -716,3 +716,18 @@ DELIM
[[ "$output" =~ "5" ]] || false
[[ "$output" =~ "6" ]] || false
}
@test "import-update-tables: import supports tables with dashes in the name" {
cat <<DELIM > file.csv
pk, c1
0,0
DELIM
run dolt table import -c this-is-a-table file.csv
[ $status -eq 0 ]
[[ "$output" =~ "Import completed successfully." ]] || false
skip "This fails right now with syntax error at position 20 near 'this'"
run dolt table import -u this-is-a-table file.csv
[ $status -eq 0 ]
}