Skip to content

Commit

Permalink
Fix deflate bomb test case
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhaering committed Mar 1, 2023
1 parent f9d6604 commit 629123c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode_response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ func TestCompressionBombInput(t *testing.T) {
}

_, err = sp.RetrieveAssertionInfo(string(bs))
require.NoError(t, err, "Assertion info should be retrieved with no error")
require.Error(t, err, "error validating response: deflated response exceeds maximum size of 2048 bytes")
}

0 comments on commit 629123c

Please sign in to comment.