Skip to content

Commit cae8b99

Browse files
committed
Enable skipped sprockets test
1 parent 5387759 commit cae8b99

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test/patches/sprockets.diff

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,16 @@ index 1cfb8413..97e2db79 100644
282282
end
283283
end
284284
diff --git a/test/test_sassc.rb b/test/test_sassc.rb
285-
index 0d8f2f32..18ef2964 100644
285+
index 0d8f2f32..03ad99e3 100644
286286
--- a/test/test_sassc.rb
287287
+++ b/test/test_sassc.rb
288-
@@ -82,6 +82,8 @@ class TestSprocketsSassc < TestBaseSassc
288+
@@ -88,8 +88,7 @@ class TestSprocketsSassc < TestBaseSassc
289+
rescue SassC::SyntaxError => error
290+
# this is not exactly consistent with ruby sass
291+
assert error.message.include?("invalid")
292+
- assert error.message.include?("error.sass")
293+
- assert error.message.include?("line 5")
294+
+ assert error.message.include?("error.sass 5")
295+
end
289296
end
290297

291-
test "raise sass error with line number" do
292-
+ skip
293-
+
294-
begin
295-
render('sass/error.sass')
296-
flunk

0 commit comments

Comments
 (0)