Skip to content

Commit

Permalink
Merge pull request #33 from ruby/latest_rbs_test_failure_fix
Browse files Browse the repository at this point in the history
Fix test failed in latest rbs
  • Loading branch information
tompng committed Sep 3, 2024
2 parents 5bcbf18 + f123431 commit e7f4bf8
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 e7f4bf8

Please sign in to comment.