Skip to content

Commit e4e1d08

Browse files
committed
go/types: use std "DO NOT EDIT" comment for generated hilbert test
For #13560. Change-Id: I884e63f89d0756ca87b8c2092b4fd8360f791a2f Reviewed-on: https://go-review.googlesource.com/39171 Run-TryBot: Robert Griesemer <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent a33903b commit e4e1d08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/go/types/hilbert_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ func TestHilbert(t *testing.T) {
5050
func program(n int, out string) []byte {
5151
var g gen
5252

53-
g.p(`// WARNING: GENERATED FILE - DO NOT MODIFY MANUALLY!
54-
// (To generate, in go/types directory: go test -run=Hilbert -H=%d -out=%q)
53+
g.p(`// Code generated by: go test -run=Hilbert -H=%d -out=%q. DO NOT EDIT.
5554
5655
// This program tests arbitrary precision constant arithmetic
5756
// by generating the constant elements of a Hilbert matrix H,

0 commit comments

Comments
 (0)