Skip to content

Commit

Permalink
This fixes failed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
centurion-hub committed Sep 28, 2024
1 parent 144587e commit fdb5006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ func TestSlicer(t *testing.T) {
assert.EqualError(t, errArgNum, ret.Get("error").String())

ret = f.(js.Value).Call("DeleteSlicer", js.ValueOf(nil))
assert.Equal(t, errArgType, ret.Get("error").String())
assert.EqualError(t, errArgType, ret.Get("error").String())
}

func TestAddSparkline(t *testing.T) {
Expand Down

0 comments on commit fdb5006

Please sign in to comment.