test/sass/importer_test.rb in sass-3.3.0.alpha.107 vs test/sass/importer_test.rb in sass-3.3.0.alpha.120

- old
+ new

@@ -198,11 +198,11 @@ .orchard { color: blue; } SCSS - rendered, sourcemap = engine.render_with_sourcemap('sourcemap_uri') + _, sourcemap = engine.render_with_sourcemap('sourcemap_uri') assert_equal <<JSON.strip, sourcemap.to_json(:css_uri => 'css_uri') { "version": "3", "mappings": "AAAA,QAAS;EACP,KAAK,EAAE,IAAI", "sources": ["http://orange.example.com/style.scss"], @@ -221,11 +221,11 @@ engine = Sass::Engine.new(<<SCSS, options) .foo {a: b} SCSS - rendered, sourcemap = engine.render_with_sourcemap('http://1.example.com/style.map') + _, sourcemap = engine.render_with_sourcemap('http://1.example.com/style.map') assert_warning(<<WARNING) {sourcemap.to_json(:css_uri => 'css_uri')} WARNING: Couldn't determine public URL for "#{filename_for_test(:scss)}" while generating sourcemap. Without a public URL, there's nothing for the source map to link to. Custom importers should define the #public_url method. @@ -242,11 +242,11 @@ engine = Sass::Engine.new(<<SCSS, options) .foo {a: b} SCSS - rendered, sourcemap = engine.render_with_sourcemap('http://1.example.com/style.map') + _, sourcemap = engine.render_with_sourcemap('http://1.example.com/style.map') assert_warning(<<WARNING) {sourcemap.to_json(:css_uri => 'css_uri', :css_path => 'css_path')} WARNING: Couldn't determine public URL for "#{filename_for_test(:scss)}" while generating sourcemap. Without a public URL, there's nothing for the source map to link to. Custom importers should define the #public_url method. @@ -291,10 +291,10 @@ engine = Sass::Engine.new(<<SCSS, options) .foo {a: b} SCSS - rendered, sourcemap = engine.render_with_sourcemap('http://map.example.com/map/style.map') + _, 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",