From 0cf86eeb03a53bd7f81c7de977cea1a2b1c3459c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 8 Aug 2014 22:28:58 -0400 Subject: Added nested and empty tabs to the test program, and fixed up relevant documentation. --- redo/zz_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'redo/zz_test.go') diff --git a/redo/zz_test.go b/redo/zz_test.go index 22ab0bc..61a7ca2 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -31,6 +31,7 @@ var ddata = []dtype{ type testwin struct { t Tab w Window + nt Tab a Area spw *Stack sph *Stack @@ -64,6 +65,11 @@ func (tw *testwin) make(done chan struct{}) { done <- struct{}{} return true }) + tw.t.Append("Blank Tab", NewTab()) + tw.nt = NewTab() + tw.nt.Append("Tab 1", Space()) + tw.nt.Append("Tab 2", Space()) + tw.t.Append("Tab", tw.nt) tw.t.Append("Space", Space()) tw.a = NewArea(200, 200, &areaHandler{}) tw.t.Append("Area", tw.a) -- cgit v1.2.3