Attention needed from Alan Donovan, Michael Matloob and Richard Miller
David du Colombier has uploaded the change for review![Open in Gerrit]()
David du Colombier would like Michael Matloob, Richard Miller and Alan Donovan to review this change.
Commit message
go/packages: match the Plan 9 error for a missing driver
TestDriver checks that loading with a nonexistent
GOPACKAGESDRIVER fails with an error matching "no
such file" or "file does not exist".
On Plan 9, the error is "... does not exist", so
add that to the expected pattern.
Change-Id: I4b1e29c93da1bed135cc57f39eaf8df5a4a4bbdc
Change diff
diff --git a/go/packages/packages_test.go b/go/packages/packages_test.go
index 7d6cffa..3b5b3c4 100644
--- a/go/packages/packages_test.go
+++ b/go/packages/packages_test.go
@@ -1705,7 +1705,7 @@
onpath: true,
gopackagesdriver: gopackagesdriver + "nonesuch",
entrypoint: "driver1",
- want: "error: no such file|file does not exist",
+ want: "error: no such file|file does not exist|does not exist",
},
// -- tests of driver response payload --
{
Change information
Files:
- M go/packages/packages_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in GerritRelated details
Attention is currently required from:
- Alan Donovan
- Michael Matloob
- Richard Miller
Gerrit-MessageType: newchange
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I4b1e29c93da1bed135cc57f39eaf8df5a4a4bbdc
Gerrit-Change-Number: 794841
Gerrit-PatchSet: 1