github.com/tencent/goom@v1.0.1/mocker_comp_amd64_test.go (about)

     1  // Package mocker_test 对 mocker 包的测试
     2  // 当前文件实现了对 mocker_test.go,iface_test.go,debug_test.go 的单测对于不同 go 版本的兼容性测试
     3  package mocker_test
     4  
     5  var versions = []string{
     6  	"go1.13",
     7  	"go1.14",
     8  	"go1.15",
     9  	"go1.16",
    10  	"go1.17",
    11  	"go1.18",
    12  	"go1.19",
    13  	"go1.20",
    14  }
    15  
    16  const testEnv = "MOCKER_COMPATIBILITY_TEST"