|
@@ -75,4 +75,15 @@ func TestPanelUpdate(t *testing.T) {
|
|
|
t.Errorf("Panel Update expected '', got %#v", got)
|
|
|
}
|
|
|
|
|
|
+ got = p.UpdateLine(0)
|
|
|
+
|
|
|
+ if expected != got {
|
|
|
+ t.Errorf("Panel UpdateLine expected %#v, got %#v", expected, got)
|
|
|
+ }
|
|
|
+
|
|
|
+ got = p.GotoEnd()
|
|
|
+ expected = Goto(7, 4)
|
|
|
+ if got != expected {
|
|
|
+ t.Errorf("Panel GotoEnd expected %#v, got %#v", expected, got)
|
|
|
+ }
|
|
|
}
|