unskip bats test for create database ... character set ... (#3036)

This commit is contained in:
jennifersp
2022-03-22 09:57:09 -07:00
committed by GitHub
parent 2049664ff9
commit 781e5e19dd

View File

@@ -300,8 +300,12 @@ SQL
}
@test "sql-create-database: create database with character set should parse correctly and not error" {
skip "currently fails with Error parsing SQL"
run dolt sql -q 'CREATE DATABASE metabase CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
[ "$status" -eq 0 ]
[[ "$output" =~ 'Query OK, 0 rows affected' ]] || false
run dolt sql -q "SHOW DATABASES;"
[ "$status" -eq 0 ]
[[ "$output" =~ "dolt_repo_$$" ]] || false
[[ "$output" =~ "information_schema" ]] || false
[[ "$output" =~ "metabase" ]] || false
}