This commit is contained in:
Christopher Homberger
2026-02-22 21:04:33 +01:00
parent a77f10683d
commit a27473e6a8
5 changed files with 24 additions and 42 deletions

View File

@@ -19,7 +19,7 @@ func TestLineWriter(t *testing.T) {
assert := assert.New(t)
write := func(s string) {
n, err := lineWriter.Write([]byte(s))
require.NoError(err)
require.NoError(t, err)
assert.Equal(len(s), n, s)
}