N
Nasir Khan
[Note: parts of this message were removed to make it a legal post.]
In unit.rb with "ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]"
at_exit do
unless $! || Test::Unit.run?
exit Test::Unit::AutoRunner.run
end
end
if Test::Unit.run is set as false the autorunner will run, if it is set as
true the autorunner will not run.
I don't think this was the intention.
It should read as
unless $! && ! Test::Unit.run?
or (more readable).
if Test::Unit.run? && $!.nil?
Unless I am missing somethig...
Thanks
Nasir
In unit.rb with "ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]"
at_exit do
unless $! || Test::Unit.run?
exit Test::Unit::AutoRunner.run
end
end
if Test::Unit.run is set as false the autorunner will run, if it is set as
true the autorunner will not run.
I don't think this was the intention.
It should read as
unless $! && ! Test::Unit.run?
or (more readable).
if Test::Unit.run? && $!.nil?
Unless I am missing somethig...
Thanks
Nasir