diff options
author | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-04 21:40:17 +0000 |
---|---|---|
committer | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-04 21:40:17 +0000 |
commit | 82f064a5244dd2ac0b5ded26ff186d85f1938220 (patch) | |
tree | 65f1f562a00d686b2f58d9615fc6343a584313b5 /test/testunit/util | |
parent | 960f29a956a4f39d8c205c13f53746cea9a72a61 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/util')
-rw-r--r-- | test/testunit/util/test_procwrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testunit/util/test_procwrapper.rb b/test/testunit/util/test_procwrapper.rb index 1954044fb3..b939b1aebf 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 |