From 8a335225c705232fe1174755a1b1ea475456b864 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 24 Mar 2022 00:19:30 +0800 Subject: Format code, update documentation and remove exported variable `XMLHeaderByte` --- chart_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart_test.go') diff --git a/chart_test.go b/chart_test.go index b1b4791..9f2287e 100644 --- a/chart_test.go +++ b/chart_test.go @@ -353,7 +353,7 @@ func TestChartWithLogarithmicBase(t *testing.T) { } assert.True(t, ok, "Can't open the %s", chartPath) - err = xml.Unmarshal([]byte(xmlCharts[i]), &chartSpaces[i]) + err = xml.Unmarshal(xmlCharts[i], &chartSpaces[i]) if !assert.NoError(t, err) { t.FailNow() } -- cgit v1.2.1