From 765b43a87c65ac269f84f81ce140c90a5c751f43 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 26 Jul 2021 12:58:08 -0400 Subject: [PATCH] lint ++ --- .../{secret_connection => secretconnection}/fuzz_test.go | 6 +++--- .../init-corpus/main.go | 0 .../{secret_connection => secretconnection}/read_write.go | 2 +- .../testdata/cases/empty | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename test/fuzz/p2p/{secret_connection => secretconnection}/fuzz_test.go (82%) rename test/fuzz/p2p/{secret_connection => secretconnection}/init-corpus/main.go (100%) rename test/fuzz/p2p/{secret_connection => secretconnection}/read_write.go (99%) rename test/fuzz/p2p/{secret_connection => secretconnection}/testdata/cases/empty (100%) diff --git a/test/fuzz/p2p/secret_connection/fuzz_test.go b/test/fuzz/p2p/secretconnection/fuzz_test.go similarity index 82% rename from test/fuzz/p2p/secret_connection/fuzz_test.go rename to test/fuzz/p2p/secretconnection/fuzz_test.go index 83347a9e8..d48dc4267 100644 --- a/test/fuzz/p2p/secret_connection/fuzz_test.go +++ b/test/fuzz/p2p/secretconnection/fuzz_test.go @@ -1,4 +1,4 @@ -package secret_connection_test +package secretconnection_test import ( "io/ioutil" @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/test/fuzz/p2p/secret_connection" + "github.com/tendermint/tendermint/test/fuzz/p2p/secretconnection" ) const testdataCasesDir = "testdata/cases" @@ -27,7 +27,7 @@ func TestSecretConnectionTestdataCases(t *testing.T) { require.NoError(t, err) input, err := ioutil.ReadAll(f) require.NoError(t, err) - secret_connection.Fuzz(input) + secretconnection.Fuzz(input) }) } } diff --git a/test/fuzz/p2p/secret_connection/init-corpus/main.go b/test/fuzz/p2p/secretconnection/init-corpus/main.go similarity index 100% rename from test/fuzz/p2p/secret_connection/init-corpus/main.go rename to test/fuzz/p2p/secretconnection/init-corpus/main.go diff --git a/test/fuzz/p2p/secret_connection/read_write.go b/test/fuzz/p2p/secretconnection/read_write.go similarity index 99% rename from test/fuzz/p2p/secret_connection/read_write.go rename to test/fuzz/p2p/secretconnection/read_write.go index c7b49977a..9701460f5 100644 --- a/test/fuzz/p2p/secret_connection/read_write.go +++ b/test/fuzz/p2p/secretconnection/read_write.go @@ -1,4 +1,4 @@ -package secret_connection +package secretconnection import ( "bytes" diff --git a/test/fuzz/p2p/secret_connection/testdata/cases/empty b/test/fuzz/p2p/secretconnection/testdata/cases/empty similarity index 100% rename from test/fuzz/p2p/secret_connection/testdata/cases/empty rename to test/fuzz/p2p/secretconnection/testdata/cases/empty