From 18fbcddd0cc3f2dbd19eb15b608d4daf1b74c863 Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Wed, 13 Mar 2019 17:01:23 -0700 Subject: [PATCH] [zstreamtest] Remove outdated test --- tests/zstreamtest.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 6d3cbffb..b099e287 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -1930,16 +1930,6 @@ static int fuzzerTests_newAPI(U32 seed, int nbTests, int startTest, } else { CHECK_Z( ZSTD_CCtx_loadDictionary_byReference(zc, dict, dictSize) ); } - if (dict && dictSize) { - /* test that compression parameters are rejected (correctly) after loading a non-NULL dictionary */ - if (opaqueAPI) { - size_t const setError = ZSTD_CCtx_setParametersUsingCCtxParams(zc, cctxParams); - CHECK(!ZSTD_isError(setError), "ZSTD_CCtx_setParametersUsingCCtxParams should have failed"); - } else { - size_t const setError = ZSTD_CCtx_setParameter(zc, ZSTD_c_windowLog, cParams.windowLog-1); - CHECK(!ZSTD_isError(setError), "ZSTD_CCtx_setParameter should have failed"); - } - } } else { CHECK_Z( ZSTD_CCtx_refPrefix(zc, dict, dictSize) ); }