您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
233B

  1. package main
  2. import (
  3. "os"
  4. "testing"
  5. )
  6. func TestMain(m *testing.M) {
  7. os.Exit(m.Run())
  8. }
  9. func TestHelloWorld(t *testing.T) {
  10. if HelloWorld() != "hello world" {
  11. t.Errorf("got %s expected %s", HelloWorld(), "hello world")
  12. }
  13. }

Powered by TurnKey Linux.