Skip to content

Commit

Permalink
Fix rubocop violation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jun 5, 2020
1 parent 9d1902b commit 53efbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_source_maps.rb
Expand Up @@ -391,7 +391,7 @@ def setup
assert_equal "sass/main.css.map", asset.logical_path
assert_equal "application/css-sourcemap+json", asset.content_type
assert_equal [
"file:///#{ fixture_path('source-maps/sass/main.scss').sub(/\A\//, '') }?type=text/scss&pipeline=source"
"file:///#{ fixture_path('source-maps/sass/main.scss').delete_prefix(/\A\//, '') }?type=text/scss&pipeline=source"
], normalize_uris(asset.links)

assert map = JSON.parse(asset.source)
Expand Down

0 comments on commit 53efbb8

Please sign in to comment.