<%- backtrace.each do |line| -%>
@@ -54,7 +54,7 @@
<%- end -%>
<%- elsif result = example.result.as?(FailResult) -%>
-
<% escape(result.error.message) %>
+
<% escape(result.error.message) %>
<%- end -%>
<%- if example.result.expectations.empty? -%>
@@ -63,12 +63,12 @@
Expectations
<%- example.result.expectations.each do |expectation| -%>
- - ">
- title="<% escape(location) %>"<% end %>><% escape(expectation.description) %>
+
- "<% if location = expectation.location? %> title="<% escape(location) %>"<% end %>>
+ <% escape(expectation.description) %>
<%- if expectation.satisfied? -%>
- pass
+ pass
<%- else -%>
- fail
+ fail
<% escape(expectation.failure_message) %>
<%- expectation.values.each do |key, value| -%>
diff --git a/src/spectator/formatting/html/head.ecr b/src/spectator/formatting/html/head.ecr
index 118085a..a311aaa 100644
--- a/src/spectator/formatting/html/head.ecr
+++ b/src/spectator/formatting/html/head.ecr
@@ -7,6 +7,207 @@
Test Results
+
+