Skip to content

Commit

Permalink
Add test case for sass#151
Browse files Browse the repository at this point in the history
  • Loading branch information
amiuhle committed Sep 27, 2019
1 parent 8b6f415 commit 66b1c80
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/engine_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,5 +310,14 @@ def test_import_plain_css
output = Engine.new("@import 'test'").render
assert_equal expected_output, output
end

def test_color_functions
expected_output = <<-CSS
a {
color: #aabbcc; }
CSS
output = Engine.new('a { color: lighten(#abc, 0%); }').render
assert_equal expected_output, output
end
end
end

0 comments on commit 66b1c80

Please sign in to comment.