Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantResults (0.27 sec)

  1. cmd/metacache_test.go

    	}
    }
    
    func Test_metacache_finished(t *testing.T) {
    	wantResults := []bool{0: true, 1: true, 2: true, 3: true, 4: false, 5: true, 6: true, 7: false, 8: true}
    
    	for i, tt := range metaCacheTestset {
    		t.Run(tt.id, func(t *testing.T) {
    			var want bool
    			if i >= len(wantResults) {
    				t.Logf("no expected result for test #%d", i)
    			} else {
    				want = wantResults[i]
    			}
    
    			got := tt.finished()
    			if got != want {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
Back to top