summaryrefslogtreecommitdiff
path: root/test/fileutils/clobber.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-04-22 13:01:43 -0700
committerJeremy Evans <code@jeremyevans.net>2022-04-22 15:00:16 -0700
commitab3cb29bd9bff9c16cfb9d19cc02026998282c12 (patch)
tree6127856f758af8ff4b435f845c2777e0f478ca94 /test/fileutils/clobber.rb
parentc2d38a0d2d78f749fba47073b33106fd2e57767a (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/clobber.rb')
-rw-r--r--test/fileutils/clobber.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/fileutils/clobber.rb b/test/fileutils/clobber.rb
index fdcecd5e08..ac5c8c79c0 100644
--- a/test/fileutils/clobber.rb
+++ b/test/fileutils/clobber.rb
@@ -4,10 +4,7 @@ require 'test/unit'
require 'tmpdir'
require_relative 'fileasserts'
-class TestFileUtils < Test::Unit::TestCase
-end
-
-module TestFileUtils::Clobber
+module TestFileUtilsClobber
include Test::Unit::FileAssertions
def my_rm_rf(path)