Skip to content
Snippets Groups Projects
Commit 7d131de5 authored by Markus Reiter's avatar Markus Reiter Committed by Alyssa Ross
Browse files

tests: slightly stricter match in tab test

Suggested by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97234536, and
then I added the \A and \Z.
parent 19e61355
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ class TapTest < Homebrew::TestCase
assert_equal "0453e16c8e3fac73104da50927a86221ca0740c2", @tap.git_head
assert_equal "0453", @tap.git_short_head
assert_match "ago", @tap.git_last_commit
assert_match(/\A\d+ .+ ago\Z/, @tap.git_last_commit)
assert_equal "2017-01-22", @tap.git_last_commit_date
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment