summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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
*