Correct "Number" to "Numeric" in mode_test.go

The string representation for the "ModeNumeric" enumeration member was incorrectly labeled as "Number". This has been corrected to "Numeric" in the mode tests file mode_test.go to maintain correct and consistent naming conventions.
This commit is contained in:
Winni Neessen 2024-03-07 21:22:24 +01:00
parent 03867adac0
commit c3eb80a183
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -87,7 +87,7 @@ func TestMode_String(t *testing.T) {
}{ }{
{"ModeHumanReadable", ModeHumanReadable, "Human-readable"}, {"ModeHumanReadable", ModeHumanReadable, "Human-readable"},
{"ModeLowerCase", ModeLowerCase, "Lower-case"}, {"ModeLowerCase", ModeLowerCase, "Lower-case"},
{"ModeNumeric", ModeNumeric, "Number"}, {"ModeNumeric", ModeNumeric, "Numeric"},
{"ModeSpecial", ModeSpecial, "Special"}, {"ModeSpecial", ModeSpecial, "Special"},
{"ModeUpperCase", ModeUpperCase, "Upper-case"}, {"ModeUpperCase", ModeUpperCase, "Upper-case"},
{"ModeUnknown", 255, "Unknown"}, {"ModeUnknown", 255, "Unknown"},