- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dest (0.15 sec)
-
src/archive/zip/reader_test.go
func TestFS(t *testing.T) { for _, test := range []struct { file string want []string }{ { "testdata/unix.zip", []string{"hello", "dir/bar", "readonly"}, }, { "testdata/subdir.zip", []string{"a/b/c"}, }, } { test := test t.Run(test.file, func(t *testing.T) { t.Parallel() z, err := OpenReader(test.file) if err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"a☺b☻c☹d", "b", len("a☺")}, // non-ascii } for _, test := range testCases { actual := LastIndexByte([]byte(test.a), test.b[0]) if actual != test.i { t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i) } } } // test a larger buffer with different sizes and alignments func TestIndexByteBig(t *testing.T) { var n = 1024
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)