1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00
This commit is contained in:
Gleb Mazovetskiy 2014-01-16 19:04:30 +01:00
parent 6c0efeb6ee
commit d892ebbeb2

View file

@ -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