From adf3775828157d903e3f32ab4023fe750fa85e68 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Tue, 19 Sep 2023 13:45:25 +0200 Subject: [PATCH] Fix dig test --- RELEASE.md | 2 +- main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 781bb96..aad9979 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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. diff --git a/main_test.go b/main_test.go index daad472..ea733ef 100644 --- a/main_test.go +++ b/main_test.go @@ -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))