summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-05-10 00:09:24 +0800
committerxuri <xuri.me@gmail.com>2021-05-10 00:09:24 +0800
commitbe12cc27f1d774154b17763c071e1dc6f91eab8c (patch)
treed6544c2e33e8aacfb0867e79ffc69fde435d3183 /rows_test.go
parent423bc26d1f87db55bab5704afebf4509269bbc7e (diff)
This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows_test.go b/rows_test.go
index 0180498..5e7fd37 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -109,7 +109,7 @@ func TestRowHeight(t *testing.T) {
assert.Equal(t, 111.0, height)
// Test set row height overflow max row height limit.
- assert.EqualError(t, f.SetRowHeight(sheet1, 4, MaxRowHeight+1), "the height of the row must be smaller than or equal to 409 points")
+ assert.EqualError(t, f.SetRowHeight(sheet1, 4, MaxRowHeight+1), ErrMaxRowHeight.Error())
// Test get row height that rows index over exists rows.
height, err = f.GetRowHeight(sheet1, 5)