summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/sample/test.rb b/sample/test.rb
index ac668172c75..ae3e7642807 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -679,8 +679,6 @@ ok("a".upcase![0] == ?A)
ok("A".downcase![0] == ?a)
ok("abc".tr!("a-z", "A-Z") == "ABC")
ok("aabbcccc".tr_s!("a-z", "A-Z") == "ABC")
-$x = "abc"
-ok($x.tr("0-9", "A-Z").equal?($x))
ok("abcc".squeeze!("a-z") == "abc")
ok("abcd".delete!("bc") == "ad")