blob: 37e510bca12147e55bc048bef385d09e6c79f52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2019 Nick White.
// Use of this source code is governed by the GPLv3
// license that can be found in the LICENSE file.
package preproc
import (
"flag"
"os"
"testing"
)
var update = flag.Bool("update", false, "update golden files")
// TestMain is needed to ensure flags are parsed
func TestMain(m *testing.M) {
flag.Parse()
os.Exit(m.Run())
}
|