summaryrefslogtreecommitdiff
path: root/test/spacing.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-28 11:08:24 -0400
committerPietro Gagliardi <[email protected]>2014-06-28 11:08:24 -0400
commit35b2c6fa53a4251ec5cfab1474f40606179d1e22 (patch)
tree19dd42adb61f3ad523a5a03e7f81f017fcc31e3a /test/spacing.go
parentcb10c0fc175be52007ddd8e82e194e13cc2a4824 (diff)
Converted most of the rest of the test program to the new API.
Diffstat (limited to 'test/spacing.go')
-rw-r--r--test/spacing.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/spacing.go b/test/spacing.go
index 367b0be..16f1b83 100644
--- a/test/spacing.go
+++ b/test/spacing.go
@@ -41,14 +41,13 @@ func spaceTest() {
a2 := NewArea(w, h, ah)
a3 := NewArea(w, h, ah)
a4 := NewArea(w, h, ah)
- win := NewWindow("Stack", 250, 250)
+ win := NewWindow("Stack", 250, 250, nullwindowhandler{})
win.SetSpaced(true)
win.Open(f(a1, a2))
- win = NewWindow("Grid", 250, 250)
+ win = NewWindow("Grid", 250, 250, nullwinhandler{})
win.SetSpaced(true)
g := NewGrid(ng, a3, a4)
g.SetFilling(0, 0)
g.SetStretchy(gsx, gsy)
win.Open(g)
- select {}
}