test/sass/engine_test.rb in sass-3.3.0.alpha.162 vs test/sass/engine_test.rb in sass-3.3.0.alpha.165
- old
+ new
@@ -1841,11 +1841,11 @@
SASS
end
def test_loud_comment_in_compressed_mode
assert_equal <<CSS, render(<<SASS, :style => :compressed)
-foo{color:blue;/* foo
+foo{color:blue;/*! foo
* bar
*/}
CSS
foo
color: blue
@@ -1855,14 +1855,13 @@
SASS
end
def test_loud_comment_is_evaluated
assert_equal <<CSS, render(<<SASS)
-/* Hue: 327.21649deg */
+/*! Hue: 327.21649deg */
CSS
-/*!
- Hue: \#{hue(#f836a0)}
+/*! Hue: \#{hue(#f836a0)}
SASS
end
def test_attribute_selector_with_spaces
assert_equal(<<CSS, render(<<SASS))
@@ -2536,19 +2535,19 @@
assert_hash_has(err.sass_backtrace[0], :mixin => "foo", :line => 3)
end
def test_interpolated_comment_in_mixin
assert_equal <<CSS, render(<<SASS)
-/* color: red */
+/*! color: red */
.foo {
color: red; }
-/* color: blue */
+/*! color: blue */
.foo {
color: blue; }
-/* color: green */
+/*! color: green */
.foo {
color: green; }
CSS
=foo($var)
/*! color: \#{$var}
@@ -2839,10 +2838,10 @@
/* \#{foo} */
CSS
/* \\\#{foo}
SASS
assert_equal <<CSS, render(<<SASS)
-/* \#{foo} */
+/*! \#{foo} */
CSS
/*! \\\#{foo}
SASS
end