From 8ca5342b37b674449bd197e0e7203a5fd252b35c Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Thu, 24 Sep 2020 11:20:48 +0200 Subject: [PATCH] brontide test: fix go 1.15 vet check --- brontide/noise_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brontide/noise_test.go b/brontide/noise_test.go index dd0882ce..720219a0 100644 --- a/brontide/noise_test.go +++ b/brontide/noise_test.go @@ -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)