Skip to content

Commit

Permalink
Typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chibimagic committed Feb 11, 2014
1 parent dccd97f commit 9c3a40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebDriver/WebElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public function assert_attribute_does_not_contain($attribute_name, $expected_mis
do {
$actual_haystack = $this->get_attribute_value($attribute_name);
} while (time() < $end_time && strstr($actual_haystack, $expected_missing_needle) !== false);
PHPUnit_Framework_Assert::assertNotContains($expected_missing_needle, $actual_haystack, "Failed asserting that <{$this->locator}>'s attribute <{$attribute_name}> does not contains <{$expected_needle}>.");
PHPUnit_Framework_Assert::assertNotContains($expected_missing_needle, $actual_haystack, "Failed asserting that <{$this->locator}>'s attribute <{$attribute_name}> does not contain <{$expected_missing_needle}>.");
}

// Will pass for "equivalent" CSS colors such as "#FFFFFF" and "white". Pass $canonicalize_colors = false to disable.
Expand Down

0 comments on commit 9c3a40f

Please sign in to comment.