From 0ada3c473e5fc0169ed5d49b78762f1fdfde015c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Sun, 19 Oct 2014 23:58:49 +0200 Subject: [PATCH] Fix normalization of commit summary in pull request test https://travis-ci.org/github/hub/builds/38441514 --- features/steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps.rb b/features/steps.rb index 598bef09..4e6f4863 100644 --- a/features/steps.rb +++ b/features/steps.rb @@ -253,7 +253,7 @@ end Given(/^the SHAs and timestamps are normalized in "([^"]+)"$/) do |file| in_current_dir do contents = File.read(file) - contents.gsub!(/[0-9a-f]{7} \(Hub, \d seconds ago\)/, "SHA1SHA (Hub, 0 seconds ago)") + contents.gsub!(/[0-9a-f]{7} \(Hub, \d seconds? ago\)/, "SHA1SHA (Hub, 0 seconds ago)") File.open(file, "w") { |f| f.write(contents) } end end