lib/tork/config/spec/worker.rb in tork-19.0.0 vs lib/tork/config/spec/worker.rb in tork-19.0.1

- old
+ new

@@ -1,3 +1,5 @@ -$tork_line_numbers.each do |line| - ARGV.push '--line_number', line.to_s +if $tork_test_file.start_with? 'spec/' and $tork_line_numbers.any? + $tork_line_numbers.each do |line| + ARGV.push '--line_number', line.to_s + end end