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 | abef077ec7bbb60753f49290f90a90bb1b0a39e0 (patch) | |
| tree | 0f0e178db3ee5899444e4ad485df331db8f079fe /lib/test/unit/error.rb | |
| parent | 7c083f8c1f102ba2ded720567894f03e68227371 (diff) | |
Added miniunit 1.3.0
git-svn-id: svn+ssh://ci.ruby-lang.org/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 0000000000..c62fe1af8a --- /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 |
