- SyncStoresCategory
- TaskError for json output.
This commit is contained in:
14
business/jxutils/tasksch/task_test.go
Normal file
14
business/jxutils/tasksch/task_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package tasksch
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
func TestTaskError(t *testing.T) {
|
||||
err := NewTaskError(errors.New("hello"))
|
||||
fmt.Println(utils.Format4Output(err, false))
|
||||
}
|
||||
Reference in New Issue
Block a user