brontide test: fix go 1.15 vet check

This commit is contained in:
Johan T. Halseth 2020-09-24 11:20:48 +02:00
parent cc29e1cce8
commit 8ca5342b37
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -110,7 +110,7 @@ func TestConnectionCorrectness(t *testing.T) {
// Test out some message full-message reads.
for i := 0; i < 10; i++ {
msg := []byte("hello" + string(i))
msg := []byte(fmt.Sprintf("hello%d", i))
if _, err := localConn.Write(msg); err != nil {
t.Fatalf("remote conn failed to write: %v", err)