From 1a3b68e7c14638d1325849acd3c99ca30571cfb8 Mon Sep 17 00:00:00 2001 From: Sarun Rattanasiri <7634596+midnight-wonderer@users.noreply.github.com> Date: Fri, 12 Feb 2021 04:56:51 +0700 Subject: correct the result of casecmp? examples [ci skip] --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index e52868c80b..dbff149840 100644 --- a/string.c +++ b/string.c @@ -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 * -- cgit v1.2.3