mirror of
https://github.com/golang/go
synced 2024-11-18 16:54:43 -07:00
godoc/static: suppress gen_test on go1.9
Either string quotation or Go formatting has since changed. Will investigate later, but this fixes the dashboard for now. Change-Id: Ieab3800fc2c24ba86026d25dea12853131c04948 Reviewed-on: https://go-review.googlesource.com/118715 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
c995a08888
commit
49ce10d933
@ -2,6 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
//+build go1.10
|
||||||
|
|
||||||
package static
|
package static
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -22,6 +24,10 @@ func TestStaticIsUpToDate(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if bytes.Compare(oldBuf, newBuf) != 0 {
|
if bytes.Compare(oldBuf, newBuf) != 0 {
|
||||||
t.Error("static.go is stale")
|
t.Error(`static.go is stale. Run:
|
||||||
|
$ go generate golang.org/x/tools/godoc/static
|
||||||
|
$ git diff
|
||||||
|
to see the differences.`)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user