summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zz_test.go b/zz_test.go
index 2f3d286..a7b0670 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -18,7 +18,6 @@ import (
var closeOnClick = flag.Bool("close", false, "close on click")
var smallWindow = flag.Bool("small", false, "open a small window (test Mac OS X initial control sizing)")
-var spaced = flag.Bool("spaced", false, "enable spacing")
type dtype struct {
Name string
@@ -263,6 +262,7 @@ var tw *testwin
// because Cocoa hates being run off the main thread, even if it's run exclusively off the main thread
func init() {
+ flag.BoolVar(&spaced, "spaced", false, "enable spacing")
flag.Parse()
go func() {
tw = new(testwin)