summaryrefslogtreecommitdiff
path: root/test/kbtest.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/kbtest.go')
-rw-r--r--test/kbtest.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/kbtest.go b/test/kbtest.go
index 6765c49..df00613 100644
--- a/test/kbtest.go
+++ b/test/kbtest.go
@@ -78,8 +78,7 @@ func kbTest() {
wid, ht, ah := mkkbArea()
a := NewArea(wid, ht, ah)
w := NewWindow("Hi", wid, ht)
- err := w.Open(a)
- if err != nil { panic(err) }
+ w.Open(a)
<-w.Closing
}