We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b3c91 commit b1f2ebdCopy full SHA for b1f2ebd
README.md
@@ -34,12 +34,20 @@ final class AssertTest extends TestCase
34
35
public function testWithTrait(): void
36
{
37
- self::assertArraySubset(['bar' => 0], ['bar' => '0'], true);
+ $expectedSubset = ['bar' => 0];
38
+
39
+ $content = ['bar' => '0'];
40
41
+ self::assertArraySubset($expectedSubset, $content, true);
42
}
43
44
public function testWithDirectCall(): void
45
- Assert::assertArraySubset(['bar' => 0], ['bar' => '0'], true);
46
47
48
49
50
+ Assert::assertArraySubset($expectedSubset, $content, true);
51
52
53
0 commit comments