github.com/motemen/ghq@v1.0.3/main_test.go (about) 1 package main 2 3 import ( 4 "os" 5 "testing" 6 7 "github.com/Songmu/gitconfig" 8 ) 9 10 func TestMain(m *testing.M) { 11 teardown := gitconfig.WithConfig(nil, "") 12 code := m.Run() 13 teardown() 14 os.Exit(code) 15 }