1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Don't print warnings in ConversionTest.

This commit is contained in:
Nathan Weizenbaum 2010-03-29 20:03:22 -07:00
parent 3a3b8234a2
commit 8ffb7ab73e

View file

@ -871,10 +871,14 @@ SASS
end
def to_sass(scss, options = {})
Sass::Engine.new(scss, options).to_tree.to_sass(options)
Haml::Util.silence_haml_warnings do
Sass::Engine.new(scss, options).to_tree.to_sass(options)
end
end
def to_scss(sass, options = {})
Sass::Engine.new(sass, options).to_tree.to_scss(options)
Haml::Util.silence_haml_warnings do
Sass::Engine.new(sass, options).to_tree.to_scss(options)
end
end
end