From 180b2ecdbfa486d1ab894570e631ba84af14275e Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Tue, 12 Nov 2024 15:54:01 -0500 Subject: [PATCH] fix test --- info/info_test.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/info/info_test.go b/info/info_test.go index 7e0b4e50..11a1790b 100644 --- a/info/info_test.go +++ b/info/info_test.go @@ -2,7 +2,6 @@ package info import ( "encoding/json" - "fmt" "testing" "github.com/streamingfast/substreams/manifest" @@ -22,16 +21,14 @@ func TestBasicInfo(t *testing.T) { r, err := json.MarshalIndent(info, "", " ") require.NoError(t, err) - - fmt.Println(string(r)) + require.NotNil(t, r) } func TestExtendedInfo(t *testing.T) { - info, err := Extended("https://github.com/streamingfast/substreams-uniswap-v3/releases/download/v0.2.8/substreams.spkg", "graph_out", nil) + info, err := Extended("https://github.com/streamingfast/substreams-uniswap-v3/releases/download/v0.2.8/substreams.spkg", "graph_out") require.NoError(t, err) r, err := json.MarshalIndent(info, "", " ") require.NoError(t, err) - - fmt.Println(string(r)) + require.NotNil(t, r) }