修改mod

This commit is contained in:
Yun
2024-04-04 21:57:26 +08:00
parent 4d07ce2c09
commit 88056ee8e9
3 changed files with 14 additions and 6 deletions
+9 -4
View File
@@ -1,15 +1,20 @@
package timerx_test
import "testing"
import (
"fmt"
"testing"
)
// 单元测试
func TestHelloWorld(t *testing.T) {
// 日志
t.Log("hello world")
// t.Log("hello world")
s := "ddd"
t.Logf("Log测试%s", s)
fmt.Println("hello world")
// s := "ddd"
// t.Logf("Log测试%s", s)
// t.Errorf("ErrorF %s", s)
// 标记错误(继续运行)