Skip to content

Commit 3d26591

Browse files
committed
kbjr#3 initialized results arrays in test suite to null
1 parent 725af21 commit 3d26591

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test-suite.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434

3535
'Git::create()' => function() {
36-
$return = array(0, '');
36+
$return = null;
3737
$repo = Git::create(DIR."/create");
3838
if (! Git::is_repo($repo)) {
3939
$return = array(2, "Git::create() failed to produce expected output.");
@@ -44,7 +44,7 @@
4444
},
4545

4646
'Git::create([ $source ])' => function() {
47-
$return = array(0, '');
47+
$return = null;
4848
$repo = Git::create(DIR."/createfrom", DIR."/test.git");
4949
if (! Git::is_repo($repo)) {
5050
$return = array(2, "Git::create([ \$source ]) failed to produce expected output.");
@@ -55,7 +55,7 @@
5555
},
5656

5757
'Git::open()' => function() {
58-
$return = array(0, '');
58+
$return = null;
5959
$repo = Git::open(DIR."/test.git");
6060
if (! Git::is_repo($repo)) {
6161
$return = array(2, "Git::open() failed to produce expected output.");

0 commit comments

Comments
 (0)