Skip to content

Commit 8316ff2

Browse files
committed
ext/dba: Remove bool type coercions in tests
1 parent 091308c commit 8316ff2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

ext/dba/tests/dba_handlers.phpt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,8 @@ echo "Test 2\n";
3737

3838
check(dba_handlers(false));
3939

40-
echo "Test 3\n";
41-
42-
check(dba_handlers(0));
43-
44-
echo "Test 4 - full info\n";
45-
$h = dba_handlers(1);
40+
echo "Test 3 - full info\n";
41+
$h = dba_handlers(true);
4642
foreach ($h as $key => $val) {
4743
if ($key === "flatfile") {
4844
echo "Success: flatfile enabled\n";
@@ -60,7 +56,5 @@ Test 1
6056
Success: flatfile enabled
6157
Test 2
6258
Success: flatfile enabled
63-
Test 3
64-
Success: flatfile enabled
65-
Test 4 - full info
59+
Test 3 - full info
6660
Success: flatfile enabled

0 commit comments

Comments
 (0)