summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-08-22 18:58:43 +0800
committerxuri <xuri.me@gmail.com>2020-08-22 18:58:43 +0800
commit88de2f8d510b0959bbb672b80656d207bd0bc927 (patch)
tree2f7c37bffac4ecad92aaf253877667ce2348a843 /rows_test.go
parent3c8c8c55c8128c5bb94fe28451f58fbc5fb4a118 (diff)
Default row height compatibility with Apache OpenOffice and Kingsoft WPS, unit test update and typo fixed
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rows_test.go b/rows_test.go
index 14537eb..e3ce9ee 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -112,12 +112,12 @@ func TestRowHeight(t *testing.T) {
// Test get row height that rows index over exists rows.
height, err = xlsx.GetRowHeight(sheet1, 5)
assert.NoError(t, err)
- assert.Equal(t, defaultRowHeightPixels, height)
+ assert.Equal(t, defaultRowHeight, height)
// Test get row height that rows heights haven't changed.
height, err = xlsx.GetRowHeight(sheet1, 3)
assert.NoError(t, err)
- assert.Equal(t, defaultRowHeightPixels, height)
+ assert.Equal(t, defaultRowHeight, height)
// Test set and get row height on not exists worksheet.
assert.EqualError(t, xlsx.SetRowHeight("SheetN", 1, 111.0), "sheet SheetN is not exist")