- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestParseBoolFlag (0.11 sec)
-
internal/config/bool-flag_test.go
} if err == nil && testCase.expectedResult != flag { t.Fatalf("result: expected: %v, got: %v", testCase.expectedResult, flag) } } } // Test ParseBoolFlag() func TestParseBoolFlag(t *testing.T) { testCases := []struct { flagStr string expectedResult BoolFlag expectedErr bool }{ {"", BoolFlag(false), true}, {"junk", BoolFlag(false), true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.5K bytes - Viewed (0)