diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-03 21:24:47 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-03 21:24:47 +0000 |
commit | 27aee57258f81ef6b381f45bbd4c0f337a201f67 (patch) | |
tree | 12dbe08033673153308351f81e4e66566548a9cf /coords_test.go | |
parent | f39a87827136188197ab34576d2d9b2d533505c0 (diff) |
making colstream unexported and re-exporting the two funcs
Diffstat (limited to '')
-rw-r--r-- | coords_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coords_test.go b/coords_test.go index 1d69ef1..8f8f865 100644 --- a/coords_test.go +++ b/coords_test.go @@ -5,12 +5,12 @@ import ( ) func TestAlphaStream(t *testing.T) { - if Colstream[26] != "AA" { - t.Errorf("The test expected AA, got %v.", Colstream[26]) + if colstream[26] != "AA" { + t.Errorf("The test expected AA, got %v.", colstream[26]) } - if len(Colstream) > maxCols { + if len(colstream) > maxCols { t.Errorf(`Number of columns in alphastream exceeds Excel maximum. - alphastream contains %d, maxCols is %d`, len(Colstream), maxCols) + alphastream contains %d, maxCols is %d`, len(colstream), maxCols) } } @@ -66,7 +66,7 @@ func TestCollectLetters(t *testing.T) { {"AA", 26}, } for _, c := range cases { - s, err := colAlphaToIndex(c.alpha) + s, err := ColAlphaToIndex(c.alpha) if err != nil { t.Fatal(err) } @@ -88,7 +88,7 @@ func TestGetColApha(t *testing.T) { {16377, "XEX"}, } for _, c := range cases { - s, err := colIndexToAlpha(c.index) + s, err := ColIndexToAlpha(c.index) if err != nil { t.Fatal(err) } |