@@ -570,7 +570,7 @@ func TestHelp_AddOpts_withWrapping(t *testing.T) {
570
570
assert .False (t , exists )
571
571
}
572
572
573
- func TestHelp_withMargins_andAddOpts (t * testing.T ) {
573
+ func TestHelp_NewHelpWithMargins_and_AddOpts (t * testing.T ) {
574
574
termCols := linebreak .TermCols ()
575
575
576
576
help := cliargs .NewHelpWithMargins (4 , 2 )
@@ -602,7 +602,7 @@ func TestHelp_withMargins_andAddOpts(t *testing.T) {
602
602
assert .False (t , exists )
603
603
}
604
604
605
- func TestHelp_addOptsWithMargins (t * testing.T ) {
605
+ func TestHelp_AddOptsWithMargins (t * testing.T ) {
606
606
termCols := linebreak .TermCols ()
607
607
608
608
help := cliargs .NewHelp ()
@@ -634,7 +634,7 @@ func TestHelp_addOptsWithMargins(t *testing.T) {
634
634
assert .False (t , exists )
635
635
}
636
636
637
- func TestHelp_addOptsWithMargins_bothOfNewMethod_andAddTextWithMargins (t * testing.T ) {
637
+ func TestHelp_AddOptsWithMargins_bothOfNewMethod_andAddTextWithMargins (t * testing.T ) {
638
638
termCols := linebreak .TermCols ()
639
639
640
640
help := cliargs .NewHelpWithMargins (4 , 2 )
@@ -666,7 +666,7 @@ func TestHelp_addOptsWithMargins_bothOfNewMethod_andAddTextWithMargins(t *testin
666
666
assert .False (t , exists )
667
667
}
668
668
669
- func TestHelp_addOpsWithIndent_ifIndentIsLongerThanTitle (t * testing.T ) {
669
+ func TestHelp_AddOptsWithIndent_ifIndentIsLongerThanTitle (t * testing.T ) {
670
670
termCols := linebreak .TermCols ()
671
671
672
672
help := cliargs .NewHelp ()
@@ -697,7 +697,7 @@ func TestHelp_addOpsWithIndent_ifIndentIsLongerThanTitle(t *testing.T) {
697
697
assert .False (t , exists )
698
698
}
699
699
700
- func TestHelp_addOpsWithIndent_ifIndentIsShorterThanTitle (t * testing.T ) {
700
+ func TestHelp_AddOptsWithIndent_ifIndentIsShorterThanTitle (t * testing.T ) {
701
701
termCols := linebreak .TermCols ()
702
702
703
703
help := cliargs .NewHelp ()
@@ -728,7 +728,7 @@ func TestHelp_addOpsWithIndent_ifIndentIsShorterThanTitle(t *testing.T) {
728
728
assert .Equal (t , line , "" )
729
729
}
730
730
731
- func TestHelp_addOpsWithIndentAndMargins (t * testing.T ) {
731
+ func TestHelp_AddOptsWithIndentAndMargins (t * testing.T ) {
732
732
termCols := linebreak .TermCols ()
733
733
734
734
help := cliargs .NewHelp ()
@@ -759,7 +759,7 @@ func TestHelp_addOpsWithIndentAndMargins(t *testing.T) {
759
759
assert .Equal (t , line , "" )
760
760
}
761
761
762
- func TestHelp_addOpts_ifOptsAreMultiple (t * testing.T ) {
762
+ func TestHelp_AddOpts_ifOptsAreMultiple (t * testing.T ) {
763
763
termCols := linebreak .TermCols ()
764
764
765
765
help := cliargs .NewHelp ()
@@ -808,7 +808,7 @@ func TestHelp_addOpts_ifOptsAreMultiple(t *testing.T) {
808
808
assert .Equal (t , line , "" )
809
809
}
810
810
811
- func TestHelp_addOpts_ifNamesAreEmptyAndStoreKeyIsSpecified (t * testing.T ) {
811
+ func TestHelp_AddOpts_ifNamesAreEmptyAndStoreKeyIsSpecified (t * testing.T ) {
812
812
help := cliargs .NewHelp ()
813
813
814
814
help .AddOpts ([]cliargs.OptCfg {
@@ -833,7 +833,7 @@ func TestHelp_addOpts_ifNamesAreEmptyAndStoreKeyIsSpecified(t *testing.T) {
833
833
assert .Equal (t , line , "" )
834
834
}
835
835
836
- func TestHelp_addOpts_ifStoreKeyIsAnyOption (t * testing.T ) {
836
+ func TestHelp_AddOpts_ifStoreKeyIsAnyOption (t * testing.T ) {
837
837
help := cliargs .NewHelp ()
838
838
839
839
help .AddOpts ([]cliargs.OptCfg {
@@ -858,7 +858,7 @@ func TestHelp_addOpts_ifStoreKeyIsAnyOption(t *testing.T) {
858
858
assert .Equal (t , line , "" )
859
859
}
860
860
861
- func TestHelp_addOpts_ifFirstElementOfNamesIsAnyOption (t * testing.T ) {
861
+ func TestHelp_AddOpts_ifFirstElementOfNamesIsAnyOption (t * testing.T ) {
862
862
help := cliargs .NewHelp ()
863
863
864
864
help .AddOpts ([]cliargs.OptCfg {
@@ -883,7 +883,7 @@ func TestHelp_addOpts_ifFirstElementOfNamesIsAnyOption(t *testing.T) {
883
883
assert .Equal (t , line , "" )
884
884
}
885
885
886
- func TestHelp_addTextWithIndent_ifIndentIsLongerThanLineWidth (t * testing.T ) {
886
+ func TestHelp_AddOptsWithIndent_ifIndentIsLongerThanLineWidth (t * testing.T ) {
887
887
termCols := linebreak .TermCols ()
888
888
889
889
help := cliargs .NewHelp ()
@@ -910,7 +910,7 @@ func TestHelp_addTextWithIndent_ifIndentIsLongerThanLineWidth(t *testing.T) {
910
910
assert .Equal (t , line , "" )
911
911
}
912
912
913
- func TestHelp_addText_withMargins_ifSumOfMarginsAreEqualToLineWidth (t * testing.T ) {
913
+ func TestHelp_AddOptsWithMargins_ifSumOfMarginsAreEqualToLineWidth (t * testing.T ) {
914
914
termCols := linebreak .TermCols ()
915
915
916
916
help := cliargs .NewHelp ()
@@ -937,7 +937,7 @@ func TestHelp_addText_withMargins_ifSumOfMarginsAreEqualToLineWidth(t *testing.T
937
937
assert .Equal (t , line , "" )
938
938
}
939
939
940
- func TestHelp_addOpts_ifNamesContainsEmptyStrings (t * testing.T ) {
940
+ func TestHelp_AddOpts_ifNamesContainsEmptyStrings (t * testing.T ) {
941
941
help := cliargs .NewHelp ()
942
942
943
943
help .AddOpts ([]cliargs.OptCfg {
0 commit comments