From 2af96c07149e2b79a06375bdc735c0a8c1f6646e Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 30 Mar 2021 23:02:22 +0800 Subject: #65 fn: N, PERCENTILE.INC and T typo fixed --- docProps_test.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docProps_test.go') diff --git a/docProps_test.go b/docProps_test.go index ef930ae..071e7ef 100644 --- a/docProps_test.go +++ b/docProps_test.go @@ -1,11 +1,13 @@ -// Copyright 2016 - 2020 The excelize Authors. All rights reserved. Use of +// Copyright 2016 - 2021 The excelize Authors. All rights reserved. Use of // this source code is governed by a BSD-style license that can be found in // the LICENSE file. // // Package excelize providing a set of functions that allow you to write to -// and read from XLSX files. Support reads and writes XLSX file generated by -// Microsoft Excelâ„¢ 2007 and later. Support save file without losing original -// charts of XLSX. This library needs Go version 1.10 or later. +// and read from XLSX / XLSM / XLTM files. Supports reading and writing +// spreadsheet documents generated by Microsoft Excelâ„¢ 2007 and later. Supports +// complex components by high compatibility, and provided streaming API for +// generating or reading data from a worksheet with huge amounts of data. This +// library needs Go version 1.10 or later. package excelize @@ -43,7 +45,7 @@ func TestSetDocProps(t *testing.T) { f.XLSX["docProps/core.xml"] = nil assert.NoError(t, f.SetDocProps(&DocProperties{})) - // Test unsupport charset + // Test unsupported charset f = NewFile() f.XLSX["docProps/core.xml"] = MacintoshCyrillicCharset assert.EqualError(t, f.SetDocProps(&DocProperties{}), "xml decode error: XML syntax error on line 1: invalid UTF-8") @@ -61,7 +63,7 @@ func TestGetDocProps(t *testing.T) { _, err = f.GetDocProps() assert.NoError(t, err) - // Test unsupport charset + // Test unsupported charset f = NewFile() f.XLSX["docProps/core.xml"] = MacintoshCyrillicCharset _, err = f.GetDocProps() -- cgit v1.2.1