ruby: fixed config assertion failure
This commit is contained in:
parent
15aa180570
commit
849bad7ad7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue