Skip to content

Commit 725af21

Browse files
committed
Merge pull request kbjr#3 from fitorec/master
Structure was modified of $Git_Tests['Git']
2 parents 4212330 + 0db19de commit 725af21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test-suite.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
$Git_Tests = array(
2222

2323
'Git' => function() {
24-
$return = array(0, '');
24+
$return = null;
2525
$repo = new GitRepo();
2626
$found = $repo->test_git();
2727
if ($found) {
28-
return array(0, "Git was located and tested successfully");
28+
$return = array(0, "Git was located and tested successfully");
2929
} else {
30-
return array(1, "Git could not be found at the default location");
30+
$return = array(1, "Git could not be found at the default location");
3131
}
32-
32+
return $return;
3333
},
3434

3535
'Git::create()' => function() {

0 commit comments

Comments
 (0)