lib/minitest.rb in spec-5.0.14 vs lib/minitest.rb in spec-5.0.15
- old
+ new
@@ -3,11 +3,11 @@
##
# :include: README.txt
module Minitest
- VERSION = '5.0.14' # :nodoc:
+ VERSION = '5.0.15' # :nodoc:
DATE = '2013-08-07' # :nodoc:
@@installed_at_exit ||= false
@@after_run = []
@extensions = []
@@ -29,13 +29,10 @@
##
# Names of known extension plugins.
mc.send :attr_accessor, :extensions
- @@trace_set = false
- mc.send :attr_accessor, :trace_set
-
##
# Registers Minitest to run at process exit
def self.autorun
at_exit {
@@ -140,13 +137,9 @@
# spec_opts = {}
#
# @param :trace [Array<String>] the files to trace
# @param :io [IO] io to print to
def self.trace_specs spec_opts
- # ensure trace is set once
- return if trace_set
- self.trace_set = true
-
targets = []
files = {}
last_file = ''
last_line = -1