We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f7c08 commit 0fcb1dcCopy full SHA for 0fcb1dc
report/reporter.rb
@@ -83,7 +83,7 @@ def find_test(endpoint)
83
relative_path = path[path.index('/tests')..-1]
84
85
File.readlines(path).each_with_index do |line, index|
86
- next unless line.include?(endpoint)
+ next unless line.split(':')[0].strip.gsub('"', '') == endpoint
87
88
return { endpoint: endpoint, file: ".#{relative_path}", line: index + 1 }
89
end
0 commit comments