From be12cc27f1d774154b17763c071e1dc6f91eab8c Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 10 May 2021 00:09:24 +0800 Subject: This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message --- rows_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rows_test.go') 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) -- cgit v1.2.1