go/analysis/.../unitchecker: suppress test unless go1.12
Change-Id: I1af89b9e077cf7eddeeeed72e66cd88f650492a2 Reviewed-on: https://go-review.googlesource.com/c/147197 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org>
This commit is contained in:
parent
619897c5a2
commit
896f44f055
|
@ -2,8 +2,13 @@
|
||||||
// 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.12
|
||||||
|
|
||||||
package unitchecker_test
|
package unitchecker_test
|
||||||
|
|
||||||
|
// This test depends on go1.12 features such as go vet's support for
|
||||||
|
// GOVETTOOL, and the (*os/exec.ExitError).ExitCode method.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"log"
|
"log"
|
||||||
|
|
Loading…
Reference in New Issue