golangci-lint: enable mirror linter

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-05-19 18:07:10 +02:00
parent 2ef9ab4494
commit 062ad57ce2
3 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,7 @@ func TestPluginSocketBackwardsCompatible(t *testing.T) {
ptmx, err := pty.Start(command)
assert.NilError(t, err, "failed to launch command with fake TTY")
_, _ = ptmx.Write([]byte("hello!"))
_, _ = ptmx.WriteString("hello!")
done := make(chan error)
go func() {