From 00c2052da3459259e151a22b55556f75457aaa7b Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Wed, 23 Jan 2019 15:23:23 -0600 Subject: [PATCH] for some reason an error is thrown when the ipc string is declared in integration_tests_suite_test.go but not when moved to a different file in the integration_tests package; I think this is due to switching to go1.11 --- pkg/transformers/integration_tests/helpers.go | 2 ++ .../integration_tests/integration_tests_suite_test.go | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/transformers/integration_tests/helpers.go b/pkg/transformers/integration_tests/helpers.go index f6d00278..cbe1800a 100644 --- a/pkg/transformers/integration_tests/helpers.go +++ b/pkg/transformers/integration_tests/helpers.go @@ -26,6 +26,8 @@ import ( "github.com/vulcanize/vulcanizedb/pkg/geth/node" ) +var ipc string + func getClients(ipc string) (client.RpcClient, *ethclient.Client, error) { raw, err := rpc.Dial(ipc) if err != nil { diff --git a/pkg/transformers/integration_tests/integration_tests_suite_test.go b/pkg/transformers/integration_tests/integration_tests_suite_test.go index 454c0798..301e779e 100644 --- a/pkg/transformers/integration_tests/integration_tests_suite_test.go +++ b/pkg/transformers/integration_tests/integration_tests_suite_test.go @@ -10,8 +10,6 @@ import ( "io/ioutil" ) -var ipc string - func TestIntegrationTests(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "IntegrationTests Suite")