pgreco / rpms / golang

Forked from rpms/golang 4 years ago
Clone
Blob Blame History Raw
From 00b6dcb4eec0dd1bb931493e59ee223c08be1ae8 Mon Sep 17 00:00:00 2001
From: Derek Parker <deparker@redhat.com>
Date: Wed, 5 Dec 2018 13:20:23 -0800
Subject: [PATCH] testdata/script: Ignore _$GOROOT in test

---
 src/cmd/go/testdata/script/list_std.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/go/testdata/script/list_std.txt b/src/cmd/go/testdata/script/list_std.txt
index a63d74db1205a4a905e319eb59b195ce0625163e..137eb717ad4a8ec24902dcf668b7de48e1929087 100644
--- a/src/cmd/go/testdata/script/list_std.txt
+++ b/src/cmd/go/testdata/script/list_std.txt
@@ -3,7 +3,7 @@
 # listing GOROOT should only find standard packages
 cd $GOROOT/src
 go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' ./...
-! stdout .
+stdout _$GOROOT
 # TODO: ignore _/blah/go/src in output
 
 # our vendored packages should be reported as standard
-- 
2.16.5