From 63d997f82035f975bc6d9724cd6a66b9982e4b20 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Sun, 28 Nov 2021 16:54:38 -0500 Subject: [PATCH] (Unimportant) Fix module name for vendored stubs This doesn't affect the test, but does mean that you can run `go build` to check the test would build. --- ql/test/library-tests/semmle/go/dataflow/ExternalFlow/go.mod | 2 +- .../semmle/go/dataflow/ExternalFlow/vendor/modules.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/go.mod b/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/go.mod index 709117ebc26..f5b1162fa7a 100644 --- a/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/go.mod +++ b/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/go.mod @@ -2,4 +2,4 @@ module semmle.go.Packages go 1.13 -require github.com/nonexistent-test-pkg v0.0.0-20200203000000-0000000000000 +require github.com/nonexistent/test v0.0.0-20200203000000-0000000000000 diff --git a/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/vendor/modules.txt b/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/vendor/modules.txt index e46a0af8429..b62dbf8819b 100644 --- a/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/vendor/modules.txt +++ b/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/vendor/modules.txt @@ -1,2 +1,3 @@ -# github.com/nonexistent-test-pkg v0.0.0-20200203000000-0000000000000 -github.com/nonexistent-test-package +# github.com/nonexistent/test v0.0.0-20200203000000-0000000000000 +## explicit +github.com/nonexistent/test