Lines Matching refs:test
241 for _, test := range testCases {
242 t.Run(test.name, func(t *testing.T) {
243 inputZips := make([]InputZip, len(test.in))
244 for i, in := range test.in {
248 want := testZipEntriesToBuf(test.out)
254 test.sort, test.jar, false, test.stripDirEntries, test.ignoreDuplicates,
255 test.stripFiles, test.stripDirs, test.zipsToNotStrip)
262 if test.err != "" {
264 t.Fatal("missing err, expected: ", test.err)
265 } else if !strings.Contains(strings.ToLower(err.Error()), strings.ToLower(test.err)) {
266 t.Fatal("incorrect err, want:", test.err, "got:", err)