Skip to content

Commit 7299941

Browse files
committed
adjust Git2\Config::__construct test case.
1 parent 4bf67ea commit 7299941

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

tests/00a-01-config___construct.phpt

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@ Check for Git2\Config::__construct
66
<?php
77
$path = __DIR__ . '/fixtures/testrepo.git/config';
88
$config = new Git2\Config($path);
9-
var_dump($config);
9+
var_dump($config instanceof Git2\Config);
1010
--EXPECT--
11-
object(Git2\Config)#1 (1) {
12-
["configs"]=>
13-
array(1) {
14-
["core"]=>
15-
array(4) {
16-
["bare"]=>
17-
string(4) "true"
18-
["filemode"]=>
19-
string(4) "true"
20-
["ignorecase"]=>
21-
string(4) "true"
22-
["repositoryformatversion"]=>
23-
string(1) "0"
24-
}
25-
}
26-
}
11+
bool(true)

0 commit comments

Comments
 (0)