From: Derek Hower Date: Thu, 6 Aug 2009 06:15:23 +0000 (-0500) Subject: ruby: better configuration assert message X-Git-Tag: Calvin_Submission~39^2~9^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1b5a6320f8aed2596969195d4955284c2dd04e8;p=gem5.git ruby: better configuration assert message --- diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb index ffc36dd67..82f0d2776 100644 --- a/src/mem/ruby/config/cfg.rb +++ b/src/mem/ruby/config/cfg.rb @@ -11,7 +11,7 @@ end def assert(condition,message) unless condition - raise AssertionFailure, "Assertion failed: #{message}" + raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n" end end