From 8ffb7ab73e470e550c9952769bfbd79dbce7c5e0 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Mon, 29 Mar 2010 20:03:22 -0700 Subject: [PATCH] [Sass] Don't print warnings in ConversionTest. --- test/sass/conversion_test.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/sass/conversion_test.rb b/test/sass/conversion_test.rb index 2a9de5ca..c953ee3c 100755 --- a/test/sass/conversion_test.rb +++ b/test/sass/conversion_test.rb @@ -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