Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_metacacheReader_next (0.17 sec)

  1. cmd/metacache-stream_test.go

    	}
    	names, err = r.readNames(-1)
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(names, want) {
    		t.Errorf("got unexpected result: %#v", names)
    	}
    }
    
    func Test_metacacheReader_next(t *testing.T) {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	for i, want := range loadMetacacheSampleNames {
    		gotObj, err := r.next()
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
Back to top