Source file src/go/types/main_test.go

     1  // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
     2  // Source: ../../cmd/compile/internal/types2/main_test.go
     3  
     4  // Copyright 2022 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  package types_test
     9  
    10  import (
    11  	"go/build"
    12  	"internal/testenv"
    13  	"os"
    14  	"testing"
    15  )
    16  
    17  func TestMain(m *testing.M) {
    18  	build.Default.GOROOT = testenv.GOROOT(nil)
    19  	os.Exit(m.Run())
    20  }
    21  

View as plain text