diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-08-06 01:15:23 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-08-06 01:15:23 -0500 |
commit | a1b5a6320f8aed2596969195d4955284c2dd04e8 (patch) | |
tree | 3b0c6cdacdbef156160aa360c58bd3aa2abfa361 /src/mem/ruby/config/cfg.rb | |
parent | dff7c9eaa0795dc23b32608dc1e26026a5292d30 (diff) | |
download | gem5-a1b5a6320f8aed2596969195d4955284c2dd04e8.tar.xz |
ruby: better configuration assert message
Diffstat (limited to 'src/mem/ruby/config/cfg.rb')
-rw-r--r-- | src/mem/ruby/config/cfg.rb | 2 |
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 |