1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:44:46 -07:00

cmd/cover: add <title> tag to <head> for coverage report HTML template

Adds a missing <title> tag to the HTML template to make it
more compliant as <title> tags are generally required for valid
HTML documents.

Change-Id: I1ab2a6ee221c8a79d3cc13d9ac6110f6f4963914
GitHub-Last-Rev: 6d519dc9dd
GitHub-Pull-Request: golang/go#38313
Reviewed-on: https://go-review.googlesource.com/c/go/+/227547
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
David Carter 2020-04-20 22:17:17 +00:00 committed by Emmanuel Odeke
parent 2edd351b92
commit f38fad4aaa

View File

@ -183,6 +183,7 @@ const tmplHTML = `
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Go Coverage Report</title>
<style>
body {
background: black;