diff options
| author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-25 21:56:30 +0000 |
|---|---|---|
| committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-25 21:56:30 +0000 |
| commit | 4bb8b76761ffa9a94754aa381fa2c7089a2ccb6d (patch) | |
| tree | 1430e28e745261625b767326063bfdd580955447 /test/testunit/test_error.rb | |
| parent | 22666de6d00e979dd4b02aaa574a9a07e319628d (diff) | |
| download | ruby-4bb8b76761ffa9a94754aa381fa2c7089a2ccb6d.tar.gz ruby-4bb8b76761ffa9a94754aa381fa2c7089a2ccb6d.tar.xz ruby-4bb8b76761ffa9a94754aa381fa2c7089a2ccb6d.zip | |
Forgot to remove test/unit tests
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/test_error.rb')
| -rw-r--r-- | test/testunit/test_error.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/testunit/test_error.rb b/test/testunit/test_error.rb deleted file mode 100644 index 56b275b36..000000000 --- a/test/testunit/test_error.rb +++ /dev/null @@ -1,26 +0,0 @@ -# Author:: Nathaniel Talbott. -# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. -# License:: Ruby license. - -require 'test/unit' - -module Test - module Unit - class TC_Error < TestCase - TF_Exception = Struct.new('TF_Exception', :message, :backtrace) - def test_display - ex = TF_Exception.new("message1\nmessage2", ['line1', 'line2']) - e = Error.new("name", ex) - assert_equal("name: #{TF_Exception.name}: message1", e.short_display) - assert_equal(<<EOM.strip, e.long_display) -Error: -name: -Struct::TF_Exception: message1 -message2 - line1 - line2 -EOM - end - end - end -end |
