Skip to content

Commit 53efbb8

Browse files
committed
Fix rubocop violation
1 parent 9d1902b commit 53efbb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_source_maps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def setup
391391
assert_equal "sass/main.css.map", asset.logical_path
392392
assert_equal "application/css-sourcemap+json", asset.content_type
393393
assert_equal [
394-
"file:///#{ fixture_path('source-maps/sass/main.scss').sub(/\A\//, '') }?type=text/scss&pipeline=source"
394+
"file:///#{ fixture_path('source-maps/sass/main.scss').delete_prefix(/\A\//, '') }?type=text/scss&pipeline=source"
395395
], normalize_uris(asset.links)
396396

397397
assert map = JSON.parse(asset.source)

0 commit comments

Comments
 (0)