Skip to content

Commit

Permalink
go/types: use std "DO NOT EDIT" comment for generated hilbert test
Browse files Browse the repository at this point in the history
For golang#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]>
  • Loading branch information
griesemer committed Apr 1, 2017
1 parent a33903b commit e4e1d08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/go/types/hilbert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ func TestHilbert(t *testing.T) {
func program(n int, out string) []byte {
var g gen

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

0 comments on commit e4e1d08

Please sign in to comment.