文件>首选项>设置>搜索Test Flags 添加-v即可. 这样会打印print了.
一份实力代码:
//1_test.go
package ethereum import ( "testing" ) func Test1(t *testing.T) { // fmt.Print("dsaf") // print(uint64('1')) t.Log("dsaf") print('f') }
文件>首选项>设置>搜索Test Flags 添加-v即可. 这样会打印print了.
一份实力代码:
//1_test.go
package ethereum import ( "testing" ) func Test1(t *testing.T) { // fmt.Print("dsaf") // print(uint64('1')) t.Log("dsaf") print('f') }