lib/tork/config/test/worker.rb in tork-19.0.0 vs lib/tork/config/test/worker.rb in tork-19.0.1
- old
+ new
@@ -1,5 +1,5 @@
-unless $tork_line_numbers.empty?
+if $tork_test_file.start_with? 'test/' and $tork_line_numbers.any?
test_file_lines = File.readlines($tork_test_file)
test_names = $tork_line_numbers.map do |line|
catch :found do
# search backwards from the desired line number to
# the first line in the file for test definitions