test: add test for echart
This commit is contained in:
parent
519c8a492e
commit
c15fec21ad
10 changed files with 1516 additions and 47 deletions
|
|
@ -23,7 +23,6 @@
|
|||
package charts
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
@ -179,7 +178,6 @@ func TestLegendRender(t *testing.T) {
|
|||
assert.Nil(err)
|
||||
assert.Equal(tt.box, b)
|
||||
data, err := d.Bytes()
|
||||
fmt.Println(string(data))
|
||||
assert.Nil(err)
|
||||
assert.NotEmpty(data)
|
||||
assert.Equal(tt.result, string(data))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue