Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_metacacheReader_readFn (0.22 sec)

  1. cmd/metacache-stream_test.go

    	}
    	for i, entry := range entries.entries() {
    		if entry.name != want[i] {
    			t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name)
    		}
    	}
    }
    
    func Test_metacacheReader_readFn(t *testing.T) {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	i := 0
    	err := r.readFn(func(entry metaCacheEntry) bool {
    		want := loadMetacacheSampleNames[i]
    		if entry.name != want {
    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