From a1b5a6320f8aed2596969195d4955284c2dd04e8 Mon Sep 17 00:00:00 2001 From: Derek Hower Date: Thu, 6 Aug 2009 01:15:23 -0500 Subject: [PATCH] ruby: better configuration assert message --- src/mem/ruby/config/cfg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2