Skip to content

Commit

Permalink
Fix typo in Kernel#warn test
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 4, 2020
1 parent 9124370 commit 09726ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_require.rb
Expand Up @@ -709,7 +709,7 @@ def deprecated
RUBY

_, err = capture_subprocess_io do
system(*ruby_with_rubygems_in_load_path, "-w", "--enable=gems", "-C", dir, "-I", dir, "main.rb")
system(*ruby_with_rubygems_in_load_path, "-w", "--disable=gems", "-C", dir, "-I", dir, "main.rb")
end
assert_match(/main\.rb:2: warning: This is a deprecated method$/, err)
_, err = capture_subprocess_io do
Expand Down

0 comments on commit 09726ae

Please sign in to comment.