Permalink
Browse files

Merge pull request #4018 from arunagw/warning_removed_

Warning removed in test
  • Loading branch information...
josevalim committed Dec 18, 2011
2 parents 5da7927 + ff502d9 commit 1214e16640cb193747f3181f1f6a795140a0c902
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
@@ -128,7 +128,7 @@ def test_gemfile_has_no_whitespace_errors
absolute = File.expand_path("Gemfile", destination_root)
File.open(absolute, 'r') do |f|
f.each_line do |line|
- assert_no_match /^[ \t]+$/, line
+ assert_no_match %r{/^[ \t]+$/}, line
end
end
end

0 comments on commit 1214e16

Please sign in to comment.