Skip to content

Commit

Permalink
Fix warning detection regex on latest ruby-head
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Aug 25, 2024
1 parent b718ed7 commit 808dedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/mt_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_mt_runs_watch_mode_that_executes_tests_when_files_change # rubocop:disa
end

# Ignore warning printed to stderr for a known issue with the listen gem
stderr.sub!(/^.*\blisten\.rb.*Add logger to your Gemfile or gemspec\.\n/, "")
stderr.sub!(/^.*add logger to your Gemfile or gemspec.*\n/i, "")
assert_empty(stderr)

assert_includes(stdout, "Watching for changes to source and test files.")
Expand Down

0 comments on commit 808dedc

Please sign in to comment.