Skip to content

Commit

Permalink
Add trailing period in seeLink & dontSeeLink
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Sep 5, 2015
1 parent 667858c commit 9faca8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Testing/CrawlerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,13 @@ protected function dontSee($text)
*/
public function seeLink($text, $url = null)
{
$message = "No links were found with expected text [{$text}].";
$message = "No links were found with expected text [{$text}]";

if ($url) {
$message .= " and URL [{$url}]";
}

$this->assertTrue($this->hasLink($text, $url), $message);
$this->assertTrue($this->hasLink($text, $url), "{$message}.");

return $this;
}
Expand All @@ -326,7 +326,7 @@ public function dontSeeLink($text, $url = null)
$message .= " and URL [{$url}]";
}

$this->assertFalse($this->hasLink($text, $url), $message);
$this->assertFalse($this->hasLink($text, $url), "{$message}.");

return $this;
}
Expand Down

0 comments on commit 9faca8e

Please sign in to comment.