Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFileMode (0.06 sec)

  1. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func testReadFile(t *testing.T, f *File, wt *WriteTest) {
    	if f.Name != wt.Name {
    		t.Fatalf("File name: got %q, want %q", f.Name, wt.Name)
    	}
    	testFileMode(t, f, wt.Mode)
    	rc, err := f.Open()
    	if err != nil {
    		t.Fatalf("opening %s: %v", f.Name, err)
    	}
    	b, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatalf("reading %s: %v", f.Name, err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top