summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index ca68424b30..fdf786be18 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -261,12 +261,13 @@ module Test # :nodoc:
#
module Unit
- # If set to false Test::Unit will not automatically run at exit.
+ # Set true when Test::Unit has run. If set to true Test::Unit
+ # will not automatically run at exit.
def self.run=(flag)
@run = flag
end
- # Automatically run tests at exit?
+ # Already tests have run?
def self.run?
@run ||= false
end