summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-12-04 11:58:43 -0500
committergit <svn-admin@ruby-lang.org>2023-12-04 17:00:14 +0000
commitea9f89eeb68dd7cac0083c1cfc5300672b380d00 (patch)
treeb3fea84e821fb9aff52bcd6d5c552c2f8a13e59d /test
parentb9f2c67106ac8277b0e83a5701a43d016d829131 (diff)
[ruby/prism] Ripper compat docs update
https://github.com/ruby/prism/commit/5f70b32b02
Diffstat (limited to 'test')
-rw-r--r--test/prism/ripper_compat_test.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/prism/ripper_compat_test.rb b/test/prism/ripper_compat_test.rb
index af38d1e946..e30f3824e2 100644
--- a/test/prism/ripper_compat_test.rb
+++ b/test/prism/ripper_compat_test.rb
@@ -4,12 +4,10 @@ require_relative "test_helper"
module Prism
class RipperCompatTest < TestCase
- def test_1_plus_2
+ def test_binary
assert_equivalent("1 + 2")
- end
-
- def test_2_minus_3
- assert_equivalent("2 - 3")
+ assert_equivalent("3 - 4 * 5")
+ assert_equivalent("6 / 7; 8 % 9")
end
private