go/loader: use Skipf in test
(late response to comment in review of CL 18452) Change-Id: I1fa80fd1c7fd22cec752c839d20a483e0732337c Reviewed-on: https://go-review.googlesource.com/18454 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
10712091e1
commit
1fb1f857ac
|
@ -399,9 +399,8 @@ func TestCwd(t *testing.T) {
|
||||||
|
|
||||||
func TestLoad_vendor(t *testing.T) {
|
func TestLoad_vendor(t *testing.T) {
|
||||||
if !go16 {
|
if !go16 {
|
||||||
// Vendoring requires Go 1.6.
|
|
||||||
// TODO(adonovan): delete in due course.
|
// TODO(adonovan): delete in due course.
|
||||||
t.Skip()
|
t.Skipf("vendoring requires Go 1.6")
|
||||||
}
|
}
|
||||||
pkgs := map[string]string{
|
pkgs := map[string]string{
|
||||||
"a": `package a; import _ "x"`,
|
"a": `package a; import _ "x"`,
|
||||||
|
@ -437,9 +436,8 @@ func TestLoad_vendor(t *testing.T) {
|
||||||
|
|
||||||
func TestVendorCwd(t *testing.T) {
|
func TestVendorCwd(t *testing.T) {
|
||||||
if !go16 {
|
if !go16 {
|
||||||
// Vendoring requires Go 1.6.
|
|
||||||
// TODO(adonovan): delete in due course.
|
// TODO(adonovan): delete in due course.
|
||||||
t.Skip()
|
t.Skipf("vendoring requires Go 1.6")
|
||||||
}
|
}
|
||||||
// Test the interaction of cwd and vendor directories.
|
// Test the interaction of cwd and vendor directories.
|
||||||
ctxt := fakeContext(map[string]string{
|
ctxt := fakeContext(map[string]string{
|
||||||
|
|
Loading…
Reference in New Issue