Fix dig test

This commit is contained in:
Anton Medvedev 2023-09-19 13:45:25 +02:00
parent d2d9eaf850
commit adf3775828
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Release
1. Bump version in [version.go](version.go).
1. Bumpversion in [version.go](version.go).
2. Bump version in [snapcraft.yaml](snap/snapcraft.yaml).
3. Bump version in [package.json](npm/package.json).
4. Publish npm package.

View File

@ -84,7 +84,7 @@ func TestDig(t *testing.T) {
tm := prepare(t)
tm.Send(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune(".")})
tm.Send(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune(".year")})
tm.Send(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune("year")})
tm.Send(tea.KeyMsg{Type: tea.KeyEnter})
teatest.RequireEqualOutput(t, read(t, tm))