Dialogue fixes and tests.
This commit is contained in:
1 parent
702d9737bd
commit
4c9a267897
5 files changed
+274
-9
No files matched your search
@@ -37,7 +37,8 @@ func TestCursorNavigationWithStatusChanges(t *testing.T) {
|
||||
after := fixture("Message one", "Message two", "2/2 messages")
|
||||
after.Y = 1
|
||||
r.Note_input(true, false, false)
|
||||
if got := r.Update(after); !reflect.DeepEqual(got, []presentation.Message{{Text: "Message two"}}) {
|
||||
want := []presentation.Message{presentation.Character_message('2'), {Text: "Message two"}}
|
||||
if got := r.Update(after); !reflect.DeepEqual(got, want) {
|
||||
t.Fatal("status line hid focused message", got)
|
||||
}
|
||||
if r.review.Active() {
|
||||
|
||||
Reference in new issue
Block a user