Skip to content

Commit 547da5b

Browse files
committed
echo output
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
1 parent ff289d5 commit 547da5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/simple.bats

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,20 +690,23 @@ EOF
690690
# Test 76: sanitize_database_name removes dangerous characters
691691
@test "sanitize_database_name removes dangerous characters" {
692692
run sanitize_database_name "test-database.name"
693+
echo "$output"
693694
[ "$status" -eq 0 ]
694695
[[ "$output" == "testdatabasename" ]]
695696
}
696697

697698
# Test 77: sanitize_database_name rejects name with starting with number
698699
@test "sanitize_database_name rejects name starting with number" {
699700
run sanitize_database_name "1test_database"
701+
echo "$output"
700702
[ "$status" -eq 1 ]
701703
[[ "$output" == *"Invalid database name"* ]]
702704
}
703705

704706
# Test 78: sanitize_database_name rejects name with spaces
705707
@test "sanitize_database_name rejects name with spaces" {
706708
run sanitize_database_name "test database"
709+
echo "$output"
707710
[ "$status" -eq 1 ]
708711
[[ "$output" == *"Invalid database name"* ]]
709712
}

0 commit comments

Comments
 (0)