Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Oct 8, 2024
1 parent 085899d commit 443fa19
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2282,9 +2282,6 @@ func TestDetailsCoversAllOperationTypes(t *testing.T) {
operation: op,
ledgerSequence: 1,
}
// calling Details should panic with unknown operation type
f := func() {
operation.Details()
}
assert.PanicsWithError(t, "unknown operation type: ", f)
_, err := operation.Details()
assert.ErrorContains(t, err, "unknown operation type: ")
}

0 comments on commit 443fa19

Please sign in to comment.