Permalink
Browse files

SYMMETRY!

[git-p4: depot-paths = "//src/minitest/dev/": change = 8487]
  • Loading branch information...
zenspider committed May 2, 2013
1 parent 48f24b8 commit b9b17e055083fa397eac6378252b4feb0142e877
Showing with 2 additions and 4 deletions.
  1. +1 −3 lib/minitest.rb
  2. +1 −1 lib/minitest/assertions.rb
View
@@ -145,7 +145,7 @@ def self.process_args args = [] # :nodoc:
options[:verbose] = true
end
- opts.on "-n", "--name PATTERN", "Filter method names on pattern (e.g. /foo/)" do |a|
+ opts.on "-n", "--name PATTERN","Filter run on /pattern/ or string." do |a|
options[:filter] = a
end
@@ -565,8 +565,6 @@ def maglev? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE
"maglev" == platform
end
- module_function :maglev?
-
##
# Is this running on mri?
@@ -20,7 +20,7 @@ def self.diff
@diff = if (RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ &&
system("diff.exe", __FILE__, __FILE__)) then
"diff.exe -u"
- elsif Minitest::Guard.maglev? then
+ elsif Minitest::Test.maglev? then
"diff -u"
elsif system("gdiff", __FILE__, __FILE__)
"gdiff -u" # solaris and kin suck

0 comments on commit b9b17e0

Please sign in to comment.