diff options
author | Harris <mike.harris@cerner.com> | 2019-08-07 16:26:13 -0500 |
---|---|---|
committer | Harris <mike.harris@cerner.com> | 2019-08-09 08:12:08 -0500 |
commit | acd76425c2ee55c45a51cf7f71c8a6187a09f507 (patch) | |
tree | 1e6f35871372f5753da9ff9671fb94541f20d49f /excelize_test.go | |
parent | e07581e980444b64bc15fce328ff07736ac9dbf6 (diff) |
Handle multi row inline strings
The inline string struct is actually the same
as the shared strings struct, reuse it.
Note that Go version 1.10 is required.
Fixes #462
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go index 4169983..d61dd7b 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -1008,6 +1008,11 @@ func TestSharedStrings(t *testing.T) { t.FailNow() } assert.Equal(t, "A", rows[0][0]) + rows, err = f.GetRows("Sheet2") + if !assert.NoError(t, err) { + t.FailNow() + } + assert.Equal(t, "Test Weight (Kgs)", rows[0][0]) } func TestSetSheetRow(t *testing.T) { |