Skip to content

Commit 729ccd8

Browse files
committed
Add failing test for empty templates
1 parent f7ff6bc commit 729ccd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/engine_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,10 @@ def test_inline_source_maps
189189
assert_match /sourceMappingURL/, output
190190
assert_match /.foo/, output
191191
end
192+
193+
def test_empty_template
194+
output = Engine.new('').render
195+
assert_equal '', output
196+
end
192197
end
193198
end

0 commit comments

Comments
 (0)