From 21ff8849bb7d4f1c277d767c7704eb63d8920cc7 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 15 Oct 2010 16:31:00 +0200 Subject: in regexps, the dot in a character class is not a metacharacter --- actionpack/test/activerecord/controller_runtime_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/activerecord/controller_runtime_test.rb') diff --git a/actionpack/test/activerecord/controller_runtime_test.rb b/actionpack/test/activerecord/controller_runtime_test.rb index 16fc901760..7931da3741 100644 --- a/actionpack/test/activerecord/controller_runtime_test.rb +++ b/actionpack/test/activerecord/controller_runtime_test.rb @@ -37,6 +37,6 @@ class ControllerRuntimeLogSubscriberTest < ActionController::TestCase wait assert_equal 2, @logger.logged(:info).size - assert_match(/\(Views: [\d\.]+ms | ActiveRecord: [\d\.]+ms\)/, @logger.logged(:info)[1]) + assert_match(/\(Views: [\d.]+ms | ActiveRecord: [\d.]+ms\)/, @logger.logged(:info)[1]) end end -- cgit v1.2.3