summaryrefslogtreecommitdiff
path: root/test/optparse/test_did_you_mean.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/optparse/test_did_you_mean.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/optparse/test_did_you_mean.rb')
-rw-r--r--test/optparse/test_did_you_mean.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/optparse/test_did_you_mean.rb b/test/optparse/test_did_you_mean.rb
index 4c6da4f74e..3c923922ec 100644
--- a/test/optparse/test_did_you_mean.rb
+++ b/test/optparse/test_did_you_mean.rb
@@ -6,7 +6,7 @@ rescue LoadError
return
end
-class TestOptionParser::DidYouMean < TestOptionParser
+class TestOptionParserDidYouMean < TestOptionParser
def setup
super
@opt.def_option("--foo", Integer) { |v| @foo = v }