Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade to libsass 3.5.2 to fix css imports #81

Merged
merged 2 commits into from
Jul 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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