Skip to content

Commit

Permalink
Merge pull request #1578 from nobu/warnings
Browse files Browse the repository at this point in the history
Suppress warnings
  • Loading branch information
soutaro authored Oct 30, 2023
2 parents 9ed2e11 + 2f8ecc5 commit 069eb3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/rbs/cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class Foo
error = assert_raises RuntimeError do
cli.run(["-I", dir, "validate"])
end
assert_match /void|self|instance|class/, error.message
assert_match(/void|self|instance|class/, error.message)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/stdlib/ARGF_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# initialize temporary class
module RBS
module Unnamed
ARGFClass = ARGF.class
ARGFClass ||= ARGF.class
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/stdlib/constants_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# initialize temporary class
module RBS
module Unnamed
ARGFClass = ARGF.class
ARGFClass ||= ARGF.class
end
end

Expand Down

0 comments on commit 069eb3e

Please sign in to comment.