summaryrefslogtreecommitdiff
path: root/test/lib/minitest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 02:04:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 02:04:31 +0000
commit49243b99441a3b6f402a0c0d9ccba8e11eb24a30 (patch)
tree4970067723e5f48ae69b904e4dbd04da6d5b25dd /test/lib/minitest
parent8a57298c0967f44be9d7022c29f7ceac0320ec39 (diff)
unit.rb: no insult method
* test/lib/minitest/unit.rb (i_suck_and_my_tests_are_order_dependent!): remove. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/minitest')
-rw-r--r--test/lib/minitest/unit.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index c561abe..e67ca02 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -1329,18 +1329,6 @@ module MiniTest
reset
##
- # Call this at the top of your tests when you absolutely
- # positively need to have ordered tests. In doing so, you're
- # admitting that you suck and your tests are weak.
-
- def self.i_suck_and_my_tests_are_order_dependent!
- class << self
- undef_method :test_order if method_defined? :test_order
- define_method :test_order do :alpha end
- end
- end
-
- ##
# Make diffs for this TestCase use #pretty_inspect so that diff
# in assert_equal can be more details. NOTE: this is much slower
# than the regular inspect but much more usable for complex