ruby: fixed config assertion failure

This commit is contained in:
Derek Hower 2009-09-01 09:35:48 -05:00
parent 15aa180570
commit 849bad7ad7

View file

@ -11,7 +11,7 @@ end
def assert(condition,message)
unless condition
raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n"
raise AssertionFailure.new(message), "\n\nAssertion failed: \n\n #{message}\n\n"
end
end