Skip to content

Commit 9723456

Browse files
committed
Clean up formatting in the testAssertContainsWithMultipleMatches() unit test
1 parent 47fff15 commit 9723456

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/MarkupAssertionsTraitTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public function testAssertContainsSelector($selector)
3434

3535
public function testAssertContainsWithMultipleMatches()
3636
{
37-
$test = new TestCaseWithMarkupAssertions;
38-
$html = '<a href="#home">Home</a> | <a href="#about">About</a> | <a href="#contact">Contact</a>';
39-
40-
$this->testcase->assertContainsSelector('a', $html);
37+
$this->testcase->assertContainsSelector(
38+
'a',
39+
'<a href="#home">Home</a> | <a href="#about">About</a> | <a href="#contact">Contact</a>'
40+
);
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)