mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-20 11:22:31 -05:00
Fixed bats tests for bools
This commit is contained in:
@@ -552,7 +552,7 @@ DELIM
|
||||
[[ "$output" =~ "\`pk\` int" ]]
|
||||
[[ "$output" =~ "\`str\` varchar(16383)" ]]
|
||||
[[ "$output" =~ "\`int\` int unsigned" ]]
|
||||
[[ "$output" =~ "\`bool\` bit(1)" ]]
|
||||
[[ "$output" =~ "\`bool\` tinyint" ]]
|
||||
[[ "$output" =~ "\`float\` float" ]]
|
||||
[[ "$output" =~ "\`date\` date" ]]
|
||||
[[ "$output" =~ "\`time\` time" ]]
|
||||
|
||||
@@ -81,7 +81,7 @@ teardown() {
|
||||
[[ "$output" =~ "\`pk\` int" ]] || false
|
||||
[[ "$output" =~ "\`int\` int" ]] || false
|
||||
[[ "$output" =~ "\`string\` varchar(16383)" ]] || false
|
||||
[[ "$output" =~ "\`boolean\` bit(1)" ]] || false
|
||||
[[ "$output" =~ "\`boolean\` tinyint" ]] || false
|
||||
[[ "$output" =~ "\`float\` float" ]] || false
|
||||
[[ "$output" =~ "\`uint\` int unsigned" ]] || false
|
||||
[[ "$output" =~ "\`uuid\` char(36) character set ascii collate ascii_bin" ]] || false
|
||||
@@ -106,7 +106,7 @@ DELIM
|
||||
[[ "$output" =~ "\`pk\` int" ]] || false
|
||||
[[ "$output" =~ "\`int\` int" ]] || false
|
||||
[[ "$output" =~ "\`string\` varchar(16383)" ]] || false
|
||||
[[ "$output" =~ "\`boolean\` bit(1)" ]] || false
|
||||
[[ "$output" =~ "\`boolean\` tinyint" ]] || false
|
||||
[[ "$output" =~ "\`float\` float" ]] || false
|
||||
[[ "$output" =~ "\`uint\` int" ]] || false
|
||||
[[ "$output" =~ "\`uuid\` char(36) character set ascii collate ascii_bin" ]] || false
|
||||
@@ -314,7 +314,7 @@ DELIM
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ '- `a` varchar(16383) NOT NULL,' ]] || false
|
||||
[[ "$output" =~ '- `b` float NOT NULL,' ]] || false
|
||||
[[ "$output" =~ '- `c` bit(1) NOT NULL,' ]] || false
|
||||
[[ "$output" =~ '- `c` tinyint NOT NULL,' ]] || false
|
||||
# assert no columns were added
|
||||
[[ ! "$output" = "+ \`" ]] || false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user