mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
More Sassy coverage.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@323 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
9a22c3717e
commit
5e11c6b04f
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ class SassEngineTest < Test::Unit::TestCase
|
|||
Sass::Engine.new(key).render
|
||||
rescue Sass::SyntaxError => err
|
||||
assert_equal(value, err.message)
|
||||
assert(err.sass_line, "Line: #{key}")
|
||||
assert_match(/\(sass\):[0-9]+/, err.backtrace[0], "Line: #{key}")
|
||||
else
|
||||
assert(false, "Exception not raised for '#{key}'!")
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue