- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_flag_arg (0.1 sec)
-
src/testing/flag_test.go
if !ok { t.Fatalf("test.v flag (type %T) does not have Get method", f) } v := gf.Get() var want any switch *testFlagArg { case "": want = false case "-test.v": want = true case "-test.v=test2json": want = "test2json" default: t.Fatalf("unexpected test_flag_arg %q", *testFlagArg) } if v != want { t.Errorf("test.v is %v want %v", v, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 2K bytes - Viewed (0)