Update drop-create.bats to use new generated constraint name.

This commit is contained in:
Nick Tobey
2023-05-12 12:18:19 -07:00
parent 69216e0acd
commit 725b148a78

View File

@@ -332,7 +332,7 @@ SQL
[[ "$output" =~ "+ \`b\` tinyint NOT NULL," ]] || false
[[ "$output" =~ "+ \`c\` varchar(10)," ]] || false
[[ "$output" =~ "+ PRIMARY KEY (\`a\`)," ]] || false
[[ "$output" =~ "+ CONSTRAINT \`chk_vk8cbuqc\` CHECK ((\`b\` > 0))" ]] || false
[[ "$output" =~ "+ CONSTRAINT \`test_chk_vk8cbuqc\` CHECK ((\`b\` > 0))" ]] || false
}
@test "drop-create: default changes" {