aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 7bffb8790b..b3e2183830 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -1382,7 +1382,7 @@ eom
def test_pipeline_operator
assert_valid_syntax('x |> y')
x = nil
- assert_equal("121", eval('x = 12 |> pow(2) |> to_s(11)'))
+ assert_equal("121", eval('x = 12 |> pow(2) |> to_s 11'))
assert_equal(12, x)
end