(f *FlagSet, name string)
| 742 | } |
| 743 | |
| 744 | func wordSepNormalizeFunc(f *FlagSet, name string) NormalizedName { |
| 745 | seps := []string{"-", "_"} |
| 746 | name = replaceSeparators(name, seps, ".") |
| 747 | normalizeFlagNameInvocations++ |
| 748 | |
| 749 | return NormalizedName(name) |
| 750 | } |
| 751 | |
| 752 | func testWordSepNormalizedNames(args []string, t *testing.T) { |
| 753 | f := NewFlagSet("normalized", ContinueOnError) |
nothing calls this directly
no test coverage detected