diff --git a/integration-tests/bats/import-update-tables.bats b/integration-tests/bats/import-update-tables.bats index cae450cf5a..1c1f2ebd35 100644 --- a/integration-tests/bats/import-update-tables.bats +++ b/integration-tests/bats/import-update-tables.bats @@ -716,3 +716,18 @@ DELIM [[ "$output" =~ "5" ]] || false [[ "$output" =~ "6" ]] || false } + +@test "import-update-tables: import supports tables with dashes in the name" { + cat < 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 ] +}