projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dff7c9e
)
ruby: better configuration assert message
author
Derek Hower
<drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:23 +0000
(
01:15
-0500)
committer
Derek Hower
<drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:23 +0000
(
01:15
-0500)
src/mem/ruby/config/cfg.rb
patch
|
blob
|
history
diff --git
a/src/mem/ruby/config/cfg.rb
b/src/mem/ruby/config/cfg.rb
index ffc36dd67f0d5f5a04957d56bc6e6785e48c83d8..82f0d27766488a8162834e2b26bcdefdfc1b1902 100644
(file)
--- 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