From 423cd349b4be830959aa9cf6f590487ea49d612f Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 23 Sep 2008 21:36:05 +0000 Subject: Added miniunit 1.3.0 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit/error.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/test/unit/error.rb (limited to 'lib/test/unit/error.rb') 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 -- cgit