Source file src/go/types/main_test.go

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

View as plain text