diff options
Diffstat (limited to 'chart_test.go')
-rw-r--r-- | chart_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |