commit | d5f39a9004db2ebc5e1b1d28e61292b81e1d83fe | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Fri Jul 23 13:31:18 2021 -0400 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Jul 26 17:20:09 2021 +0000 |
tree | 17adf247988ded2076dacaeacf5671bac94c8ad4 | |
parent | 894319f1c858c3eb690c829b73d071747ccf4a49 [diff] |
tests/e2e: replace mvdan/sh with rsc.io/quote The rsc.io/quote module is smaller and contains fewer versions so it will be much faster to fetch. Change-Id: Ic94e134e1efa84a8c31b3dabc10cbf33ce307049 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/337009 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/tests/e2e/__image_snapshots__/unit-desktop--mvdan-versions-snap.png b/tests/e2e/__image_snapshots__/unit-desktop--mvdan-versions-snap.png deleted file mode 100644 index ce8b85d..0000000 --- a/tests/e2e/__image_snapshots__/unit-desktop--mvdan-versions-snap.png +++ /dev/null Binary files differ
diff --git a/tests/e2e/__image_snapshots__/unit-desktop--package-exists-in-other-modules-snap.png b/tests/e2e/__image_snapshots__/unit-desktop--package-exists-in-other-modules-snap.png new file mode 100644 index 0000000..a8e470b --- /dev/null +++ b/tests/e2e/__image_snapshots__/unit-desktop--package-exists-in-other-modules-snap.png Binary files differ
diff --git a/tests/e2e/__image_snapshots__/unit-desktop--package-with-higher-major-version-snap.png b/tests/e2e/__image_snapshots__/unit-desktop--package-with-higher-major-version-snap.png index 47158ff..9f4aae9 100644 --- a/tests/e2e/__image_snapshots__/unit-desktop--package-with-higher-major-version-snap.png +++ b/tests/e2e/__image_snapshots__/unit-desktop--package-with-higher-major-version-snap.png Binary files differ
diff --git a/tests/e2e/__image_snapshots__/unit-mobile--mvdan-versions-snap.png b/tests/e2e/__image_snapshots__/unit-mobile--mvdan-versions-snap.png deleted file mode 100644 index 52b84ad..0000000 --- a/tests/e2e/__image_snapshots__/unit-mobile--mvdan-versions-snap.png +++ /dev/null Binary files differ
diff --git a/tests/e2e/__image_snapshots__/unit-mobile--package-exists-in-other-modules-snap.png b/tests/e2e/__image_snapshots__/unit-mobile--package-exists-in-other-modules-snap.png new file mode 100644 index 0000000..35de7eb --- /dev/null +++ b/tests/e2e/__image_snapshots__/unit-mobile--package-exists-in-other-modules-snap.png Binary files differ
diff --git a/tests/e2e/__image_snapshots__/unit-mobile--package-with-higher-major-version-snap.png b/tests/e2e/__image_snapshots__/unit-mobile--package-with-higher-major-version-snap.png index 33942b0..a306e37 100644 --- a/tests/e2e/__image_snapshots__/unit-mobile--package-with-higher-major-version-snap.png +++ b/tests/e2e/__image_snapshots__/unit-mobile--package-with-higher-major-version-snap.png Binary files differ
diff --git a/tests/e2e/seed.txt b/tests/e2e/seed.txt index 2532d14..441d18c 100644 --- a/tests/e2e/seed.txt +++ b/tests/e2e/seed.txt
@@ -16,10 +16,11 @@ golang.org/x/tools@v0.1.1 golang.org/x/tools@v0.1.2 k8s.io/client-go@v1.5.2 -mvdan.cc/sh/v3@v3.3.0 -mvdan.cc/sh@v2.6.4+incompatible golang.org/x/tools/gopls@v0.6.11 github.com/jackc/pgx@v3.6.2+incompatible +rsc.io/quote@all +rsc.io/quote/v2@all +rsc.io/quote/v3@all std@v1.0.0 std@v1.13.0 std@v1.16.3
diff --git a/tests/e2e/unit.testcases.ts b/tests/e2e/unit.testcases.ts index 1a8ca07..75ea94a 100644 --- a/tests/e2e/unit.testcases.ts +++ b/tests/e2e/unit.testcases.ts
@@ -32,10 +32,10 @@ ${'package with multiple licenses'} | ${'/github.com/apache/thrift@v0.14.1?tab=licenses'} ${'package that exists in multiple modules at the same version'} | ${'/github.com/hashicorp/vault/api@v1.0.3'} ${'package not at latest version of module'} | ${'/golang.org/x/tools/cmd/vet'} - ${'package with higher major version'} | ${'/mvdan.cc/sh/syntax'} + ${'package with higher major version'} | ${'/rsc.io/quote'} ${'package with multi-GOOS'} | ${'/github.com/creack/pty@v1.1.11'} ${'retracted package'} | ${'/k8s.io/client-go@v1.5.2'} ${'deprecated package'} | ${'/github.com/jba/bit'} ${'package with deprecated symbols'} | ${'/cuelang.org/go@v0.3.2/cue'} - ${'mvdan versions'} | ${'/mvdan.cc/sh?tab=versions'} + ${'package exists in other modules'} | ${'/rsc.io/quote?tab=versions'} `;