diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-01-16 22:04:30 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-01-16 22:04:30 +0400 |
commit | d892ebbeb250940a6ad67a390e4973ec2458650e (patch) | |
tree | 979e1bb09cc45e685b597b5290492667b1bcdc0d /test | |
parent | 6c0efeb6ee20ccdab2b17fd4c71c4a4a29ca7c58 (diff) |
fix test
Diffstat (limited to 'test')
-rw-r--r-- | test/sprockets_rails_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sprockets_rails_test.rb b/test/sprockets_rails_test.rb index bec80a1..918dc1d 100644 --- a/test/sprockets_rails_test.rb +++ b/test/sprockets_rails_test.rb @@ -11,7 +11,7 @@ class SprocketsRailsTest < ActiveSupport::TestCase next unless path =~ /\.(css|js)$/ File.open(path, 'r') do |f| f.read.scan /url\("?[^"]+\.(?:jpg|png|eot|woff|ttf|svg)[^"]*"?\)/ do |m| - assert_match /-[0-9a-f]{12,}\.$/, m + assert_match /-[0-9a-f]{12,}\./, m end end end |