mirror of
https://github.com/jefferyjob/go-easy-utils.git
synced 2025-11-03 01:04:00 +08:00
unit test
This commit is contained in:
@@ -44,6 +44,7 @@ func TestToFloat64(t *testing.T) {
|
||||
{true, 1, nil},
|
||||
{false, 0, nil},
|
||||
{(*bool)(nil), 0, nil},
|
||||
{make(chan int), 0, go_easy_utils.ErrType},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user