Files
timerx/single_test.go
T

27 lines
351 B
Go
Raw Normal View History

2023-11-27 22:37:33 +08:00
package timerx_test
2023-08-06 01:07:29 +08:00
2024-04-04 21:57:26 +08:00
import (
"fmt"
"testing"
)
2023-08-06 01:07:29 +08:00
// 单元测试
func TestHelloWorld(t *testing.T) {
// 日志
2024-04-04 21:57:26 +08:00
// t.Log("hello world")
2023-08-06 01:07:29 +08:00
2024-04-04 21:57:26 +08:00
fmt.Println("hello world")
// s := "ddd"
// t.Logf("Log测试%s", s)
2023-08-06 01:07:29 +08:00
// t.Errorf("ErrorF %s", s)
// 标记错误(继续运行)
// t.Fail()
// 终止运行
// t.FailNow()
}