From 629123cf78da94425d341ed99190cb68085841de Mon Sep 17 00:00:00 2001 From: Russell Haering Date: Wed, 1 Mar 2023 13:49:58 -0800 Subject: [PATCH] Fix deflate bomb test case --- decode_response_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode_response_test.go b/decode_response_test.go index 613f9a6..19e0ed6 100644 --- a/decode_response_test.go +++ b/decode_response_test.go @@ -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") }