Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/log/logr_test.go

    			l.V(0).Info("0")
    			l.V(1).Info("1")
    			l.V(2).Info("2")
    			l.V(3).Info("3")
    			l.V(4).Info("4")
    
    			matchBool(t, true, l.V(0).Enabled())
    			matchBool(t, true, l.V(3).Enabled())
    			matchBool(t, false, l.V(4).Enabled())
    			matchBool(t, false, l.V(6).Enabled())
    		})
    		mustMatchLength(t, 4, lines)
    		mustRegexMatchString(t, lines[0], "0")
    		mustRegexMatchString(t, lines[1], "1")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top