Skip to content

Commit

Permalink
update broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-dydx committed Dec 5, 2023
1 parent 7569349 commit 2121202
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion protocol/indexer/protocol/v1/v1_mappers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2121202

Please sign in to comment.