summaryrefslogtreecommitdiff
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 0dae1c5a8e..9ff3791e7d 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -3620,11 +3620,11 @@ CODE
assert_predicate chilled_string.clone, :frozen?
# @+ treat the original string as frozen
- assert_not_predicate +chilled_string, :frozen?
+ assert_not_predicate(+chilled_string, :frozen?)
assert_not_same chilled_string, +chilled_string
# @- the original string as mutable
- assert_predicate -chilled_string, :frozen?
+ assert_predicate(-chilled_string, :frozen?)
assert_not_same chilled_string, -chilled_string
end