lib/tork/config/test/worker.rb in tork-19.8.2 vs lib/tork/config/test/worker.rb in tork-19.9.0

- old
+ new

@@ -1,5 +1,5 @@ -if $tork_test_file.start_with? 'test/' and $tork_line_numbers.any? +if $tork_line_numbers.any? and $tork_test_file =~ $tork_config_test_grep 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