diff options
| author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-23 21:36:05 +0000 |
|---|---|---|
| committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-23 21:36:05 +0000 |
| commit | 423cd349b4be830959aa9cf6f590487ea49d612f (patch) | |
| tree | 0f0e178db3ee5899444e4ad485df331db8f079fe /lib/test/unit/error.rb | |
| parent | 3a8617e7c6ba913edbb9b6bf2370695da8f5d012 (diff) | |
| download | ruby-423cd349b4be830959aa9cf6f590487ea49d612f.tar.gz ruby-423cd349b4be830959aa9cf6f590487ea49d612f.tar.xz ruby-423cd349b4be830959aa9cf6f590487ea49d612f.zip | |
Added miniunit 1.3.0
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/error.rb')
| -rw-r--r-- | lib/test/unit/error.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/test/unit/error.rb b/lib/test/unit/error.rb new file mode 100644 index 000000000..c62fe1af8 --- /dev/null +++ b/lib/test/unit/error.rb @@ -0,0 +1,17 @@ +############################################################ +# This file is imported from a different project. +# DO NOT make modifications in this repo. +# File a patch instead and assign it to Ryan Davis +############################################################ + +require 'test/unit/deprecate' + +# rails currently needs this file and this one method. +module Test::Unit + class Error + def message + self.class.tu_deprecation_warning :message # 2009-06-01 + "you're a loser" + end + end +end |
