Klimi's new dotfiles with stow.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
- # -*- 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
- }
|