Update packages

This commit is contained in:
2016-10-22 16:25:44 +02:00
parent 42b437055b
commit 0d078ffb05
1156 changed files with 238 additions and 219 deletions

View File

@@ -0,0 +1,21 @@
# -*- mode: snippet -*-
# name: testmain
# key: testmain
# contributor : @atotto
# --
func TestMain(m *testing.M) {
setup()
ret := m.Run()
if ret == 0 {
teardown()
}
os.Exit(ret)
}
func setup() {
$1
}
func teardown() {
$2
}