提交 130b0d21 编写于 作者: K kennyj

Fix build: can't convert Regexp to String

上级 a6dbc3fe
......@@ -19,6 +19,6 @@ def test_default_message
log = StringIO.new
self.stubs(:logger).returns(Logger.new(log))
benchmark {}
assert_match(log.rewind && log.read, /Benchmarking \(\d+.\d+ms\)/)
assert_match(/Benchmarking \(\d+.\d+ms\)/, log.rewind && log.read)
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册