Skip to content

Commit

Permalink
Merge pull request #81 from deivid-rodriguez/downgrade_to_3.5.2
Browse files Browse the repository at this point in the history
Downgrade to libsass 3.5.2 to fix css imports
  • Loading branch information
bolandrm committed Jul 5, 2018
2 parents da758b1 + c948212 commit 5519b18
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions test/engine_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,16 @@ def test_empty_template_encoding_matches_input
output = Engine.new(input).render
assert_equal input.encoding, output.encoding
end

def test_import_plain_css
temp_file("test.css", ".something{color: red}")
expected_output = <<-CSS
.something {
color: red; }
CSS

output = Engine.new("@import 'test'").render
assert_equal expected_output, output
end
end
end
2 changes: 1 addition & 1 deletion test/native_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module NativeTest

class General < MiniTest::Test
def test_it_reports_the_libsass_version
assert_equal "3.5.4", Native.version
assert_equal "3.5.2", Native.version
end
end

Expand Down

0 comments on commit 5519b18

Please sign in to comment.