aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-01-25 12:05:54 +0100
committerSiri Hansen <[email protected]>2019-01-25 12:05:54 +0100
commit7cd0271e226ddd727867b0f923a00d9f58167a5f (patch)
treee1c91b282ed8f46a0f7bc6ca56fcd872c968ae4d /lib/tools/src
parent3284d6f9e291735489c136f88d2ca5ec12352660 (diff)
parentb94a5a7ccc4c04ea2eabd56e4a5eb54895327d8b (diff)
downloadotp-7cd0271e226ddd727867b0f923a00d9f58167a5f.tar.gz
otp-7cd0271e226ddd727867b0f923a00d9f58167a5f.tar.bz2
otp-7cd0271e226ddd727867b0f923a00d9f58167a5f.zip
Merge branch 'maint'
Diffstat (limited to 'lib/tools/src')
-rw-r--r--lib/tools/src/cover.erl1
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(_) -> "".