Skip to content

Commit

Permalink
Using the strict equality to an empty array kind of assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
bucefal91 committed Jul 30, 2022
1 parent 0b8bfb4 commit 78ce27b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified build/kint.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/UtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function testComposerGetExtras()
$this->assertSame(['more' => 'test', 'data', 'test' => 'ing'], Utils::composerGetExtras('kint'));

\file_put_contents($this->composer_test_dir.'/composer/installed.json', 'malformed JSON.');
$this->assertEmpty(Utils::composerGetExtras('kint'));
$this->assertSame([], Utils::composerGetExtras('kint'));
}

public function traceProvider()
Expand Down

0 comments on commit 78ce27b

Please sign in to comment.