test/sass/importer_test.rb in sass-3.3.0.rc.1 vs test/sass/importer_test.rb in sass-3.3.0.rc.2
- old
+ new
@@ -202,11 +202,11 @@
SCSS
_, sourcemap = engine.render_with_sourcemap('sourcemap_uri')
assert_equal <<JSON.strip, sourcemap.to_json(:css_uri => 'css_uri')
{
-"version": "3",
+"version": 3,
"mappings": "AAAA,QAAS;EACP,KAAK,EAAE,IAAI",
"sources": ["http://orange.example.com/style.scss"],
"file": "css_uri"
}
JSON
@@ -272,11 +272,11 @@
rendered, sourcemap = engine.render_with_sourcemap('http://map.example.com/map/style.map')
css_uri = 'css_uri'
sourcemap_path = 'map/style.map'
assert_equal <<JSON.strip, sourcemap.to_json(:css_uri => css_uri, :sourcemap_path => sourcemap_path)
{
-"version": "3",
+"version": 3,
"mappings": "AAAA,IAAK;EAAC,CAAC,EAAE,CAAC",
"sources": ["../sass/style.scss"],
"file": "css_uri"
}
JSON
@@ -297,10 +297,10 @@
_, sourcemap = engine.render_with_sourcemap('http://map.example.com/map/style.map')
css_path = 'static/style.css'
sourcemap_path = 'map/style.map'
assert_equal <<JSON.strip, sourcemap.to_json(:css_path => css_path, :sourcemap_path => sourcemap_path)
{
-"version": "3",
+"version": 3,
"mappings": "AAAA,IAAK;EAAC,CAAC,EAAE,CAAC",
"sources": ["../sass/style.scss"],
"file": "../static/style.css"
}
JSON