mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
fix test
This commit is contained in:
parent
6c0efeb6ee
commit
d892ebbeb2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue