diff options
author | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-01 19:25:51 +0000 |
---|---|---|
committer | ntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-01 19:25:51 +0000 |
commit | 8bbb49ddfe12cc85232f9811c495592d8b26a206 (patch) | |
tree | 7f7da22f9a6b40b483e2a9ecc3355674a0fbc017 /lib/test | |
parent | cb2bb9a5942b430017c154fd543417d580e3fd85 (diff) | |
download | ruby-8bbb49ddfe12cc85232f9811c495592d8b26a206.tar.gz ruby-8bbb49ddfe12cc85232f9811c495592d8b26a206.tar.xz ruby-8bbb49ddfe12cc85232f9811c495592d8b26a206.zip |
* lib/test/unit/assertions.rb: fixed #assert_no_match message.
* test/testunit/test_assertions.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r-- | lib/test/unit/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index 9730fe267..3c2f7b98c 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -229,7 +229,7 @@ EOT public def assert_no_match(regexp, string, message="") _wrap_assertion do - assert_instance_of(Regexp, regexp, "The first argument to assert_does_not_match should be a Regexp.") + assert_instance_of(Regexp, regexp, "The first argument to assert_no_match should be a Regexp.") full_message = build_message(message, "<?> expected to not match\n<?>.", regexp, string) assert_block(full_message) { regexp !~ string } end |