From 544ef18a8cb9949fcb8833c6d2816783c90f3318 Mon Sep 17 00:00:00 2001
From: xuri <xuri.me@gmail.com>
Date: Mon, 5 Jul 2021 00:03:56 +0800
Subject: - Support concurrency iterate rows and columns - Rename exported
 field `File.XLSX` to `File.Pkg` - Exported error message

---
 pivotTable_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'pivotTable_test.go')

diff --git a/pivotTable_test.go b/pivotTable_test.go
index 7098b3a..e746d8d 100644
--- a/pivotTable_test.go
+++ b/pivotTable_test.go
@@ -137,12 +137,12 @@ func TestAddPivotTable(t *testing.T) {
 		ShowLastColumn:  true,
 	}))
 	// Create pivot table with many data, many rows, many cols and defined name
-	f.SetDefinedName(&DefinedName{
+	assert.NoError(t, f.SetDefinedName(&DefinedName{
 		Name:     "dataRange",
 		RefersTo: "Sheet1!$A$1:$E$31",
 		Comment:  "Pivot Table Data Range",
 		Scope:    "Sheet2",
-	})
+	}))
 	assert.NoError(t, f.AddPivotTable(&PivotTableOption{
 		DataRange:       "dataRange",
 		PivotTableRange: "Sheet2!$A$57:$AJ$91",
-- 
cgit v1.2.1