summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-08-06 01:15:23 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-08-06 01:15:23 -0500
commita1b5a6320f8aed2596969195d4955284c2dd04e8 (patch)
tree3b0c6cdacdbef156160aa360c58bd3aa2abfa361
parentdff7c9eaa0795dc23b32608dc1e26026a5292d30 (diff)
downloadgem5-a1b5a6320f8aed2596969195d4955284c2dd04e8.tar.xz
ruby: better configuration assert message
-rw-r--r--src/mem/ruby/config/cfg.rb2
1 files changed, 1 insertions, 1 deletions
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