From 2121202501f6cb369fbe58ff2e54d98abddfd71d Mon Sep 17 00:00:00 2001 From: Jakob Herlitz Date: Tue, 5 Dec 2023 11:09:48 -0800 Subject: [PATCH] update broken test --- protocol/indexer/protocol/v1/v1_mappers_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protocol/indexer/protocol/v1/v1_mappers_test.go b/protocol/indexer/protocol/v1/v1_mappers_test.go index 66a4a70f1f..af79807302 100644 --- a/protocol/indexer/protocol/v1/v1_mappers_test.go +++ b/protocol/indexer/protocol/v1/v1_mappers_test.go @@ -398,7 +398,10 @@ func TestConvertToClobPairStatus(t *testing.T) { expectedStatus: v1.ClobPairStatus(clobtypes.ClobPair_Status_value[name]), } if value == int32(clobtypes.ClobPair_STATUS_UNSPECIFIED) { - testCase.expectedPanic = "invalid clob pair status" + testCase.expectedPanic = fmt.Sprintf( + "ConvertToClobPairStatus: invalid clob pair status: %+v", + clobtypes.ClobPair_STATUS_UNSPECIFIED, + ) } tests[testName] = testCase }