diff options
Diffstat (limited to 'client/menu_test.go')
-rw-r--r-- | client/menu_test.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/menu_test.go b/client/menu_test.go index 224b242..aaf3d81 100644 --- a/client/menu_test.go +++ b/client/menu_test.go @@ -19,9 +19,7 @@ func TestDisplayMenu(t *testing.T) { config: &config.Config{ Menus: map[string]config.Menu{ "test": config.Menu{ - Banner: "TEST TEST TEST", - XOffset: 5, - YOffset: 3, + Banner: "TEST TEST TEST", MenuEntries: []config.MenuEntry{ config.MenuEntry{ Key: "q", @@ -37,8 +35,8 @@ func TestDisplayMenu(t *testing.T) { } want := []byte("\033[2J" + "TEST TEST TEST\n" + - "\n\n\n" + - " q) quit\n") + "\n" + + "q) quit\n") state.displayMenu() // back to normal state w.Close() |