Skip to content

Commit 6c51cf0

Browse files
committed
internal/mod/zip: remove duplicate test case
In Go's x/mod/zip package, the one_large test case just has a Go file, which we modified presumably since we require a cue.mod/module.cue file. However, total_large already has both of those files in the same way, making the two tests exact duplicates. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I78fddf5679e32e3932451b0e462ebad562a433d9 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1170017 Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent fefeb36 commit 6c51cf0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/mod/zip/zip_test.go

-9
Original file line numberDiff line numberDiff line change
@@ -652,15 +652,6 @@ type sizeLimitTest struct {
652652
// sizeLimitTests is shared by TestCreateSizeLimits and TestUnzipSizeLimits.
653653
var sizeLimitTests = [...]sizeLimitTest{
654654
{
655-
desc: "one_large",
656-
files: []fakeFile{{
657-
name: "large.go",
658-
size: modzip.MaxZipFile - uint64(len(`module: "example.com/m@v1"`)),
659-
}, {
660-
name: "cue.mod/module.cue",
661-
data: []byte(`module: "example.com/m@v1"`),
662-
}},
663-
}, {
664655
desc: "total_large",
665656
files: []fakeFile{{
666657
name: "large.go",

0 commit comments

Comments
 (0)