From 2e16212c7a8fb2ef9101c13fd949130294b1c3f0 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sun, 12 May 2024 00:55:48 +0200 Subject: [PATCH] remove cruft left after removal of script filtering --- t/server/sanitize_query.t | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/t/server/sanitize_query.t b/t/server/sanitize_query.t index 2358aae56..21c230527 100644 --- a/t/server/sanitize_query.t +++ b/t/server/sanitize_query.t @@ -86,20 +86,6 @@ sub test_bad_request { }; } -my %replacements = ( - prefer_shorter_module_names_100 => - qr#\Q_score - doc['documentation'].value.length()/100\E#, - - prefer_shorter_module_names_400 => - qr#\Qif(documentation == empty)\E.+\Q.length()/400\E#s, - - score_version_numified => qr#\Qdoc['module.version_numified'].value\E#, - - status_is_latest => qr#\Qdoc['status'].value == 'latest'\E#, - - stupid_script_that_doesnt_exist => undef, -); - hash_key_rejected( script => { script => 'foobar' } ); hash_key_rejected( script => { tree => { of => 'many', hashes => { script => 'foobar' } } }