diff options
Diffstat (limited to 'lib/test')
-rw-r--r-- | lib/test/unit/assertions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index 3ed3dc339e..7da0c4e1eb 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -328,8 +328,8 @@ EOT # * Arguments to the method # # Example: - # assert_send([[1, 2], :member?, 1]) # -> pass - # assert_send([[1, 2], :member?, 4]) # -> fail + # assert_send(["Hello world", :include?, "Hello"]) # -> pass + # assert_send(["Hello world", :include?, "Goodbye"]) # -> fail def assert_send send_ary, m = nil recv, msg, *args = send_ary m = message(m) { |