We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a949d6e commit 7929f27Copy full SHA for 7929f27
test/simple.bats
@@ -698,12 +698,12 @@ EOF
698
@test "sanitize_database_name rejects name starting with number" {
699
run sanitize_database_name "1test_database"
700
[ "$status" -eq 1 ]
701
- [[ "$output" == *"Invalid database name"* ]]
+ [[ "$output" == "test_database" ]]
702
}
703
704
# Test 78: sanitize_database_name rejects name with spaces
705
@test "sanitize_database_name rejects name with spaces" {
706
run sanitize_database_name "test database"
707
708
+ [[ "$output" == "testdatabase" ]]
709
0 commit comments