- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReadHeaderOnly (0.12 sec)
-
src/archive/tar/reader_test.go
t.Errorf("test %d, NewReader(%s) with %s discard: got %d headers, want %d headers", i, s1, s2, cnt, v.cnt) } } } } // TestReadHeaderOnly tests that Reader does not attempt to read special // header-only files. func TestReadHeaderOnly(t *testing.T) { f, err := os.Open("testdata/hdr-only.tar") if err != nil { t.Fatalf("unexpected error: %v", err) } defer f.Close()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0)