Skip to content

Commit 5519b18

Browse files
authored
Merge pull request #81 from deivid-rodriguez/downgrade_to_3.5.2
Downgrade to libsass 3.5.2 to fix css imports
2 parents da758b1 + c948212 commit 5519b18

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

test/engine_test.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,16 @@ def test_empty_template_encoding_matches_input
267267
output = Engine.new(input).render
268268
assert_equal input.encoding, output.encoding
269269
end
270+
271+
def test_import_plain_css
272+
temp_file("test.css", ".something{color: red}")
273+
expected_output = <<-CSS
274+
.something {
275+
color: red; }
276+
CSS
277+
278+
output = Engine.new("@import 'test'").render
279+
assert_equal expected_output, output
280+
end
270281
end
271282
end

test/native_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module NativeTest
99

1010
class General < MiniTest::Test
1111
def test_it_reports_the_libsass_version
12-
assert_equal "3.5.4", Native.version
12+
assert_equal "3.5.2", Native.version
1313
end
1414
end
1515

0 commit comments

Comments
 (0)