Skip to content

Commit 629123c

Browse files
Fix deflate bomb test case
1 parent f9d6604 commit 629123c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decode_response_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,5 @@ func TestCompressionBombInput(t *testing.T) {
225225
}
226226

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

0 commit comments

Comments
 (0)