mirror of
https://github.com/golang/go
synced 2024-11-18 17:54:57 -07:00
cmd/cover: add <title> tag to html template used for code coverage reports
This code change adds a title element to the HTML template used by cover command to generate go code coverage reports. The title used is "Go Coverage Report". A title tag is required in HTML documents for most situations. See NOTES section of <head> element at https://www.w3.org/TR/html52/document-metadata.html#elementdef-head
This commit is contained in:
parent
94d22d12fa
commit
6d519dc9dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user