mirror of
https://github.com/jefferyjob/go-easy-utils.git
synced 2025-10-30 01:51:48 +08:00
This reverts commit ef397cab50.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package jsonUtil
|
||||
|
||||
import (
|
||||
"github.com/jefferyjob/go-easy-utils/v2"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -30,8 +31,8 @@ func TestToInt64(t *testing.T) {
|
||||
{complex64(1 + 2i), 1, nil},
|
||||
{complex128(1 + 2i), 1, nil},
|
||||
{nil, 0, nil},
|
||||
{"not a number", 0, ErrSyntax},
|
||||
{make(chan int), 0, ErrType},
|
||||
{"not a number", 0, go_easy_utils.ErrSyntax},
|
||||
{make(chan int), 0, go_easy_utils.ErrType},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user