From 667747965c725e07c55bfddb7fb03625eb539c4b Mon Sep 17 00:00:00 2001 From: edwardmack Date: Fri, 13 Sep 2024 15:32:00 -0400 Subject: [PATCH] fix test --- dot/parachain/candidate-validation/host_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dot/parachain/candidate-validation/host_test.go b/dot/parachain/candidate-validation/host_test.go index 5491dfd4b4..2ad8bdaf1a 100644 --- a/dot/parachain/candidate-validation/host_test.go +++ b/dot/parachain/candidate-validation/host_test.go @@ -1,6 +1,7 @@ package candidatevalidation import ( + "fmt" "testing" parachaintypes "github.com/ChainSafe/gossamer/dot/parachain/types" @@ -323,7 +324,8 @@ func TestHost_performBasicChecks(t *testing.T) { if tt.expectedError != nil { require.EqualError(t, validationError, tt.expectedError.Error()) } else { - require.NoError(t, validationError) + fmt.Printf("validationError: %v\n", validationError) + require.Nil(t, validationError) } }) }