diff options
author | Siri Hansen <[email protected]> | 2019-01-25 12:05:39 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-01-25 12:05:39 +0100 |
commit | b94a5a7ccc4c04ea2eabd56e4a5eb54895327d8b (patch) | |
tree | 40cc84fd966b3ec6abc056fc9d181bcd67713803 /lib/tools/src | |
parent | 1ff44ec786828c3eeb2114cfeb5dd47e1a7fae61 (diff) | |
parent | c18bb73c75b1eea6e8986893edc3b7a066fcf365 (diff) | |
download | otp-b94a5a7ccc4c04ea2eabd56e4a5eb54895327d8b.tar.gz otp-b94a5a7ccc4c04ea2eabd56e4a5eb54895327d8b.tar.bz2 otp-b94a5a7ccc4c04ea2eabd56e4a5eb54895327d8b.zip |
Merge branch 'siri/cover/searchable-uncovered/OTP-15542' into maint
* siri/cover/searchable-uncovered/OTP-15542:
[cover] Make uncovered lines searchable in html output
[cover] Right-align number of hits in html output
Diffstat (limited to 'lib/tools/src')
-rw-r--r-- | lib/tools/src/cover.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tools/src/cover.erl b/lib/tools/src/cover.erl index 4f3707d2ed..8d4561ca9e 100644 --- a/lib/tools/src/cover.erl +++ b/lib/tools/src/cover.erl @@ -2569,6 +2569,7 @@ table_data(Line, L, N) -> "<td class=\"hits\">",maybe_integer_to_list(N),"</td>\n", "<td class=\"source\"><code>",LineNoNL,"</code></td>\n</tr>\n"]. +maybe_integer_to_list(0) -> "<pre style=\"display: inline;\">:-(</pre>"; maybe_integer_to_list(N) when is_integer(N) -> integer_to_list(N); maybe_integer_to_list(_) -> "". |