diff options
author | xuri <xuri.me@gmail.com> | 2019-12-20 01:00:15 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-12-20 01:00:15 +0800 |
commit | 4249dad8eaf8a6dee93fafeffe0bbbd794581ffe (patch) | |
tree | c9f32214bd8b5e60d7987b8fb7bac43e5fbae703 /docProps_test.go | |
parent | a526e90404913f5d649d29a7aeee29f5ac9ff590 (diff) | |
parent | b1b3c0d15158abc71267da5893de020f047c3872 (diff) |
Resolve #539 Merge branch 'v2'
# Conflicts:
# rows.go
# sheet.go
Diffstat (limited to 'docProps_test.go')
-rw-r--r-- | docProps_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docProps_test.go b/docProps_test.go index 671d998..df3122b 100644 --- a/docProps_test.go +++ b/docProps_test.go @@ -39,7 +39,7 @@ func TestSetDocProps(t *testing.T) { })) assert.NoError(t, f.SaveAs(filepath.Join("test", "TestSetDocProps.xlsx"))) f.XLSX["docProps/core.xml"] = nil - assert.EqualError(t, f.SetDocProps(&DocProperties{}), "EOF") + assert.NoError(t, f.SetDocProps(&DocProperties{})) } func TestGetDocProps(t *testing.T) { @@ -52,5 +52,5 @@ func TestGetDocProps(t *testing.T) { assert.Equal(t, props.Creator, "Microsoft Office User") f.XLSX["docProps/core.xml"] = nil _, err = f.GetDocProps() - assert.EqualError(t, err, "EOF") + assert.NoError(t, err) } |