bin/tork in tork-15.1.0 vs bin/tork in tork-16.0.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
=begin
-TORK 1 2012-01-25 15.1.0
+TORK 1 2012-01-25 16.0.0
==============================================================================
NAME
------------------------------------------------------------------------------
@@ -34,11 +34,11 @@
tork(1), tork-driver(1), tork-master(1), tork-herald(1)
=end =========================================================================
-$0 = File.basename(__FILE__) # for easier indentification in ps(1) output
+$0 = File.basename(__FILE__) # for easier identification in ps(1) output
require 'binman'
BinMan.help
require 'json'
@@ -57,11 +57,11 @@
case event
when :load then warn 'tork: Overhead absorbed. Ready for testing!'
when :over then warn 'tork: Reabsorbing changed overhead files...'
else
- test_file, test_names, *details = details
- message = [evstr.upcase, test_file, test_names.inspect, details].join(' ')
+ test_file, line_numbers, *details = details
+ message = [evstr.upcase, test_file, line_numbers.inspect, details].join(' ')
color = case event
when :pass then "\e[34m%s\e[0m" # blue
when :fail then "\e[31m%s\e[0m" # red
end