summaryrefslogtreecommitdiffstats
path: root/test/testunit/util/test_procwrapper.rb
diff options
context:
space:
mode:
authorntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 21:40:17 +0000
committerntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 21:40:17 +0000
commit36df633da547e9c35f86c471e25f3625938a14ba (patch)
tree65f1f562a00d686b2f58d9615fc6343a584313b5 /test/testunit/util/test_procwrapper.rb
parent26bb3f8304ada99fb8bb8afb139fe5ecd60f9fdc (diff)
downloadruby-36df633da547e9c35f86c471e25f3625938a14ba.tar.gz
ruby-36df633da547e9c35f86c471e25f3625938a14ba.tar.xz
ruby-36df633da547e9c35f86c471e25f3625938a14ba.zip
* lib/test/unit/assertions.rb: made small improvements to assertion
messages. Deprecated Assertions#assert_not_nil; use #assert instead. * test/testunit/test_assertions.rb: ditto. * test/testunit/util/test_procwrapper.rb: use #assert instead of #assert_not_nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/util/test_procwrapper.rb')
-rw-r--r--test/testunit/util/test_procwrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testunit/util/test_procwrapper.rb b/test/testunit/util/test_procwrapper.rb
index 1954044fb..b939b1aeb 100644
--- a/test/testunit/util/test_procwrapper.rb
+++ b/test/testunit/util/test_procwrapper.rb
@@ -28,7 +28,7 @@ module Test
assert_equal(@wrapped_original, @wrapped_munged, "The wrappers should be equivalent")
a_hash = {@wrapped_original => @original}
- assert_not_nil(a_hash[@wrapped_original], "Should be able to access the wrapper in the hash")
+ assert(a_hash[@wrapped_original], "Should be able to access the wrapper in the hash")
end
end
end