update tests
parent
1dfca156bc
commit
57260dfcb4
|
|
@ -52,7 +52,7 @@ func TestAppGetActions(t *testing.T) {
|
||||||
|
|
||||||
a.AddActions(ui.KeyActions{ui.KeyZ: ui.KeyAction{Description: "zorg"}})
|
a.AddActions(ui.KeyActions{ui.KeyZ: ui.KeyAction{Description: "zorg"}})
|
||||||
|
|
||||||
assert.Equal(t, 9, len(a.GetActions()))
|
assert.Equal(t, 10, len(a.GetActions()))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestAppViews(t *testing.T) {
|
func TestAppViews(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,5 @@ func TestAppNew(t *testing.T) {
|
||||||
a := view.NewApp(config.NewConfig(ks{}))
|
a := view.NewApp(config.NewConfig(ks{}))
|
||||||
a.Init("blee", 10)
|
a.Init("blee", 10)
|
||||||
|
|
||||||
assert.Equal(t, 12, len(a.GetActions()))
|
assert.Equal(t, 13, len(a.GetActions()))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue