summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-08-02 09:49:26 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2023-08-16 17:47:32 -0700
commit3d032cf3e894fbfea00a81acf1fd90a29de9bb63 (patch)
tree45f89ff2d650a4beaee35c19bf4c9070bafbb6eb /test
parentb6f26c2e4a95e71f67b84e36b4368d6d820ffb5b (diff)
[ruby/yarp] Simplify creation of numerics
https://github.com/ruby/yarp/commit/e5f6ffa23a
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8226
Diffstat (limited to 'test')
-rw-r--r--test/newline_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/newline_test.rb b/test/newline_test.rb
index 29c3b7f017..5a81f52637 100644
--- a/test/newline_test.rb
+++ b/test/newline_test.rb
@@ -38,15 +38,15 @@ class NewlineTest < Test::Unit::TestCase
expected.delete_at actual.index(62)
elsif relative == "lib/yarp/lex_compat.rb"
# extra flag for: dedent_next =\n ((token.event: due to bytecode order
- actual.delete(514)
+ actual.delete(520)
# different line for: token =\n case event: due to bytecode order
- actual.delete(571)
- expected.delete(572)
+ actual.delete(577)
+ expected.delete(578)
# extra flag for: lex_state =\n if RIPPER: due to bytecode order
- actual.delete(604)
+ actual.delete(610)
# extra flag for: (token[2].start_with?("\#$") || token[2].start_with?("\#@"))
# unclear when ParenthesesNode should allow a second flag on the same line or not
- actual.delete(731)
+ actual.delete(737)
end
assert_equal expected, actual