github.com/crspeller/mattermost-server@v0.0.0-20190328001957-a200beb3d111/mlog/main_test.go (about) 1 // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. 2 // See License.txt for license information. 3 4 package mlog_test 5 6 import ( 7 "testing" 8 9 "github.com/crspeller/mattermost-server/testlib" 10 ) 11 12 var mainHelper *testlib.MainHelper 13 14 func TestMain(m *testing.M) { 15 mainHelper = testlib.NewMainHelperWithOptions(nil) 16 defer mainHelper.Close() 17 18 mainHelper.Main(m) 19 }