diff options
author | Jeremy Evans <[email protected]> | 2022-04-22 13:01:43 -0700 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2022-04-22 15:00:16 -0700 |
commit | ab3cb29bd9bff9c16cfb9d19cc02026998282c12 (patch) | |
tree | 6127856f758af8ff4b435f845c2777e0f478ca94 /test/fileutils/visibility_tests.rb | |
parent | c2d38a0d2d78f749fba47073b33106fd2e57767a (diff) |
Avoid defining the same test class in multiple files
Should fix issues with parallel testing sometimes not running all
tests.
This should be viewed skipping whitespace changes.
Fixes [Bug #18731]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5839
Diffstat (limited to 'test/fileutils/visibility_tests.rb')
-rw-r--r-- | test/fileutils/visibility_tests.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/fileutils/visibility_tests.rb b/test/fileutils/visibility_tests.rb index 4c02c9d207..9f8f8dc9e1 100644 --- a/test/fileutils/visibility_tests.rb +++ b/test/fileutils/visibility_tests.rb @@ -2,14 +2,11 @@ require 'test/unit' require 'fileutils' -class TestFileUtilsInc < Test::Unit::TestCase -end - ## # These tests are reused in the FileUtils::Verbose, FileUtils::NoWrite and # FileUtils::DryRun tests -module TestFileUtilsInc::Visibility +module TestFileUtilsIncVisibility FileUtils::METHODS.each do |m| define_method "test_singleton_visibility_#{m}" do |