From 927cf5ae9e4d932d325252fa3b7292e455c629f8 Mon Sep 17 00:00:00 2001 From: Timothy Sehn Date: Wed, 9 Mar 2022 11:31:55 -0800 Subject: [PATCH 1/2] Skipped bats test for updating tables with dashes in them --- integration-tests/bats/import-update-tables.bats | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/integration-tests/bats/import-update-tables.bats b/integration-tests/bats/import-update-tables.bats index cae450cf5a..1eabb57f76 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 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 ] +} From f8aa78f032a477b6bbc95bf256dfc9cb1d02fdbc Mon Sep 17 00:00:00 2001 From: Timothy Sehn Date: Wed, 9 Mar 2022 11:37:50 -0800 Subject: [PATCH 2/2] Adding file name to test name --- integration-tests/bats/import-update-tables.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/bats/import-update-tables.bats b/integration-tests/bats/import-update-tables.bats index 1eabb57f76..1c1f2ebd35 100644 --- a/integration-tests/bats/import-update-tables.bats +++ b/integration-tests/bats/import-update-tables.bats @@ -717,7 +717,7 @@ DELIM [[ "$output" =~ "6" ]] || false } -@test "import supports tables with dashes in the name" { +@test "import-update-tables: import supports tables with dashes in the name" { cat < file.csv pk, c1 0,0