diff options
Diffstat (limited to '')
-rw-r--r-- | reader/reader_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 109b605..ff9a55c 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -1,6 +1,7 @@ package reader import ( + "log" "testing" ) @@ -46,6 +47,11 @@ func TestAlphaStream(t *testing.T) { if alphaStream[26] != "AA" { t.Errorf("Expected AA, got %v", alphaStream[26]) } + if len(alphaStream) > maxCols { + t.Errorf(`Number of columns in alphastream exceeds Excel maximum. + alphastream contains %d, maxCols is %d`, len(alphaStream), maxCols) + } + log.Printf("Length of alphastream: %d", len(alphaStream)) } func TestAlphaSingle(t *testing.T) { |