diff options
author | Sarun Rattanasiri <7634596+midnight-wonderer@users.noreply.github.com> | 2021-02-12 04:56:51 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 06:56:51 +0900 |
commit | 1a3b68e7c14638d1325849acd3c99ca30571cfb8 (patch) | |
tree | 45088f69e55302079b6ce948da463d463326ace0 /string.c | |
parent | 2d877327e12f499ac1a0d7096f4314cc92ef228e (diff) |
correct the result of casecmp? examples [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4174
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3556,7 +3556,7 @@ str_casecmp(VALUE str1, VALUE str2) * Unicode case folding, otherwise +false+: * 'foo'.casecmp?('foo') # => true * 'foo'.casecmp?('food') # => false - * 'food'.casecmp?('foo') # => true + * 'food'.casecmp?('foo') # => false * 'FOO'.casecmp?('foo') # => true * 'foo'.casecmp?('FOO') # => true * |