test: add test for charts

This commit is contained in:
vicanso 2022-06-21 20:18:27 +08:00
parent 212a51083f
commit 6695a3a062
6 changed files with 827 additions and 61 deletions

View file

@ -23,7 +23,6 @@
package charts
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
@ -103,7 +102,6 @@ func TestRadarChart(t *testing.T) {
Bottom: 20,
})))
assert.Nil(err)
fmt.Println(string(data))
assert.Equal(tt.result, string(data))
}
}