Oops, didn't mean to commit that.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@639 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-11-23 07:51:08 +00:00
parent 0753244a76
commit 462042bb38
2 changed files with 3 additions and 2 deletions

View File

@ -148,6 +148,9 @@ module Haml
# Only do the first round of pre-compiling if we really need to.
precompile
rescue Haml::Error => e
e.add_backtrace_entry(@index, @options[:filename])
raise e
end

View File

@ -167,8 +167,6 @@ class EngineTest < Test::Unit::TestCase
assert_equal(2, e.haml_line)
assert_equal(nil, e.haml_filename)
assert_equal('(haml):2', e.backtrace[0])
p e.backtrace
else
# Test failed... should have raised an exception
assert(false)