We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08de77b + 0d6a3cb commit 8b1479bCopy full SHA for 8b1479b
views/source_file.erb
@@ -11,7 +11,7 @@
11
12
<pre>
13
<ol>
14
- <% source_file.lines.each_with_index do |line| %>
+ <% source_file.lines.each do |line| %>
15
<li class="<%= line.status %>" data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
16
<% if line.covered? %><span class="hits"><%= line.coverage %></span><% end %>
17
<% if line.skipped? %><span class="hits">skipped</span><% end %>
@@ -20,4 +20,4 @@
20
<% end %>
21
</ol>
22
</pre>
23
-</div>
+</div>
0 commit comments