Skip to content

Commit d5acd77

Browse files
committed
Fix hhvm test
1 parent 74e5af2 commit d5acd77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/VarsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,8 +1171,9 @@ public function testBasicInvalidYML()
11711171
public function testBasicInvalidIni()
11721172
{
11731173
// hack for hhvm
1174-
if (! defined('HHVM_VERSION')) {
1174+
if (defined('HHVM_VERSION')) {
11751175
throw new \RuntimeException();
1176+
return;
11761177
}
11771178

11781179
$vars = new Vars(

0 commit comments

Comments
 (0)