diff options
Diffstat (limited to 'internal/tmuxedit/history_test.go')
| -rw-r--r-- | internal/tmuxedit/history_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/tmuxedit/history_test.go b/internal/tmuxedit/history_test.go index b9d59d3..f6d6d7d 100644 --- a/internal/tmuxedit/history_test.go +++ b/internal/tmuxedit/history_test.go @@ -6,6 +6,8 @@ import ( "path/filepath" "testing" "time" + + "codeberg.org/snonux/hexai/internal/textutil" ) func TestAppendHistory(t *testing.T) { @@ -164,7 +166,7 @@ func TestSplitLines(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - got := splitLines([]byte(tt.input)) + got := textutil.SplitLinesBytes([]byte(tt.input)) gotStr := make([]string, len(got)) for i, b := range got { gotStr[i] = string(b) |
