Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #112 from testwill/string
Browse files Browse the repository at this point in the history
chore: use conn.buffer.String() instead of string(conn.buffer.Bytes())
  • Loading branch information
codeskyblue authored Apr 7, 2024
2 parents 798d70b + f2e21d1 commit 8b75d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minitouch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ $ 25654`),
}
close(reqC)
drainTouchRequests(conn, reqC)
output := string(conn.buffer.Bytes())
output := conn.buffer.String()
assert.Equal(t, "d 1 1080 1920 255\nc\nm 3 540 960 255\nu 4\n", output)
}

0 comments on commit 8b75d48

Please sign in to comment.