summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/zz_test.go b/zz_test.go
index d35ba1a..0b24300 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -11,11 +11,8 @@ func TestIt(t *testing.T) {
Quit()
return true
})
- e := NewEntry()
- e.OnChanged(func(*Entry) {
- w.SetTitle(e.Text())
- })
- w.SetChild(e)
+ l := NewLabel("A Label")
+ w.SetChild(l)
w.Show()
})
if err != nil {