Skip to content

Commit 70d4aee

Browse files
committed
Add test
1 parent ef7090c commit 70d4aee

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "globbed_multiple_extensions/**/*";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.glob {
2+
margin: <%= 0 %>;
3+
}

test/sassc_rails_test.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,16 @@ def test_allows_for_inclusion_of_inline_source_maps
271271
# assert_match /\.import-css-application/, css_output
272272
#end
273273

274+
def test_globbed_imports_work_with_multiple_extensions
275+
initialize!
276+
277+
asset = render_asset("glob_multiple_extensions_test.css")
278+
279+
assert_equal <<-CSS, asset
280+
.glob{margin:0}
281+
CSS
282+
end
283+
274284
def test_globbed_imports_work_when_globbed_file_is_changed
275285
skip "This seems to work in practice, possible test setup problem"
276286

0 commit comments

Comments
 (0)