Skip to content

Commit f123431

Browse files
committed
Fix test failed in latest rbs
1 parent 5bcbf18 commit f123431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/repl_type_completor/test_type_analyze.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def test_block_symbol
152152
def test_union_splat
153153
assert_call('a, = [[:a], 1, nil].sample; a.', include: [Symbol, Integer, NilClass], exclude: Object)
154154
assert_call('[[:a], 1, nil].each do _2; _1.', include: [Symbol, Integer, NilClass], exclude: Object)
155-
assert_call('a = [[:a], 1, nil, ("a".."b")].sample; [*a].sample.', include: [Symbol, Integer, NilClass, String], exclude: Object)
155+
assert_call('a = [[:a], 1, ("a".."b")].sample; [*a].sample.', include: [Symbol, Integer, String], exclude: Object)
156156
end
157157

158158
def test_range

0 commit comments

Comments
 (0)