diff options
Diffstat (limited to 'redo/zz_test.go')
| -rw-r--r-- | redo/zz_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go index f6791a0..d20eabf 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -28,6 +28,7 @@ var ddata = []dtype{ type testwin struct { t Tab w Window + l Label table Table b Button c Checkbox @@ -47,6 +48,8 @@ func (tw *testwin) make(done chan struct{}) { done <- struct{}{} return true }) + tw.l = NewStandaloneLabel("hello") + tw.t.Append("Label", tw.l) tw.table = NewTable(reflect.TypeOf(ddata[0])) tw.table.Lock() dq := tw.table.Data().(*[]dtype) |
