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:
parent
0753244a76
commit
462042bb38
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue