summaryrefslogtreecommitdiff
path: root/test/kbtest.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-03 23:08:51 -0400
committerPietro Gagliardi <[email protected]>2014-06-03 23:08:51 -0400
commit427a0f3a74a1feed3cfbef8894719221e4f8f27b (patch)
treed2f0d6ff8cd363f33a92b4973afcb04ceda7b077 /test/kbtest.go
parent59870e80f005cbd8f883c24200f81bde2fd63a7e (diff)
Big change to Window: split Open()'s functionality into Create() and Open(); they no longer return errors.
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
}