优化部分逻辑

This commit is contained in:
Yun
2023-11-13 23:49:42 +08:00
parent 319d6b6db1
commit fbb74cdd6d
7 changed files with 109 additions and 123 deletions
+21
View File
@@ -0,0 +1,21 @@
package timer_test
import "testing"
// 单元测试
func TestHelloWorld(t *testing.T) {
// 日志
t.Log("hello world")
s := "ddd"
t.Logf("Log测试%s", s)
// t.Errorf("ErrorF %s", s)
// 标记错误(继续运行)
// t.Fail()
// 终止运行
// t.FailNow()
}