1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

Fix tests in editor_test.go.

Signed-off-by: Jakub Sobon <jakub.sobon@elohim.sk>
This commit is contained in:
Jakub Sobon 2023-02-08 13:38:38 -05:00
parent 188017287a
commit b1943d95cf
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7

View File

@ -1523,7 +1523,7 @@ func TestFieldEditor(t *testing.T) {
wantView: "",
wantContent: "",
wantCurIdx: 0,
wantOnChangeCalls: 4,
wantOnChangeCalls: 3,
},
{
desc: "doesn't insert runes with rune width of zero",