Skip to content

Commit

Permalink
Fix smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Feb 24, 2020
1 parent 8fafab6 commit 5ab0f8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion smoke/alias/a.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @type var x: foo
x = ""

# !expects ArgumentTypeMismatch: receiver=(::Integer | ::String), expected=::String, actual=::Integer
# !expects ArgumentTypeMismatch: receiver=(::Integer | ::String), expected=::string, actual=::Integer
x + 123

# @type var y: bar
Expand Down
8 changes: 4 additions & 4 deletions smoke/regexp/b.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
match_ref_3.foo

match_ref_4 = match[0, 1]
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
match_ref_4.foo

match_ref_5 = match[0..1]
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
match_ref_5.foo

begin_1 = match.begin(0)
Expand All @@ -32,7 +32,7 @@
begin_3.foo

captures_1 = match.captures
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
captures_1.foo

end_1 = match.end(0)
Expand Down Expand Up @@ -92,7 +92,7 @@
string_1.foo

to_a_1 = match.to_a
# !expects NoMethodError: type=::Array[::String], method=foo
# !expects NoMethodError: type=::Array[(::String | nil)], method=foo
to_a_1.foo

values_at_1 = match.values_at
Expand Down

0 comments on commit 5ab0f8e

Please sign in to comment.