(tristate *triStateValue)
| 56 | } |
| 57 | |
| 58 | func setUpFlagSet(tristate *triStateValue) *FlagSet { |
| 59 | f := NewFlagSet("test", ContinueOnError) |
| 60 | *tristate = triStateFalse |
| 61 | flag := f.VarPF(tristate, "tristate", "t", "tristate value (true, maybe or false)") |
| 62 | flag.NoOptDefVal = "true" |
| 63 | return f |
| 64 | } |
| 65 | |
| 66 | func TestExplicitTrue(t *testing.T) { |
| 67 | var tristate triStateValue |
no test coverage detected