util: Handle negative values for NumToAlpha
This shouldn't be used often, but it makes writing some kinds of code easier.
This commit is contained in:
@@ -38,6 +38,7 @@ func TestNumToAlpha(t *testing.T) {
|
||||
{702, "aaa"},
|
||||
{703, "aab"},
|
||||
{63269, "cool"},
|
||||
{-1, ""},
|
||||
}
|
||||
|
||||
for _, test := range numToAlphaTests {
|
||||
|
||||
Reference in New Issue
Block a user