Skip to content

Commit

Permalink
Fix test failed in latest rbs
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng committed Sep 3, 2024
1 parent 5bcbf18 commit f123431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/repl_type_completor/test_type_analyze.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_block_symbol
def test_union_splat
assert_call('a, = [[:a], 1, nil].sample; a.', include: [Symbol, Integer, NilClass], exclude: Object)
assert_call('[[:a], 1, nil].each do _2; _1.', include: [Symbol, Integer, NilClass], exclude: Object)
assert_call('a = [[:a], 1, nil, ("a".."b")].sample; [*a].sample.', include: [Symbol, Integer, NilClass, String], exclude: Object)
assert_call('a = [[:a], 1, ("a".."b")].sample; [*a].sample.', include: [Symbol, Integer, String], exclude: Object)
end

def test_range
Expand Down

0 comments on commit f123431

Please sign in to comment.