lib/pork/mode/shuffled.rb in pork-1.2.0 vs lib/pork/mode/shuffled.rb in pork-1.2.1

- old
+ new

@@ -52,11 +52,11 @@ current = path + [index] case type when :describe arg.build_all_tests(r, current) when :would - loc = test.source_location - ((r[loc.first] ||= {})[loc.last] ||= []) << current + file, line = test.source_location + ((r[File.expand_path(file)] ||= {})[line] ||= []) << current end r end end end