Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsErrIgnored (0.09 sec)

  1. cmd/utils_test.go

    		if ceiling != testCase.ceiling {
    			t.Errorf("Case %d: Unexpected result: %d", i, ceiling)
    		}
    	}
    }
    
    // Test if isErrIgnored works correctly.
    func TestIsErrIgnored(t *testing.T) {
    	errIgnored := fmt.Errorf("ignored error")
    	testCases := []struct {
    		err     error
    		ignored bool
    	}{
    		{
    			err:     nil,
    			ignored: false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top