Skip to content

Commit

Permalink
Merge pull request #1214 from metacpan/haarg/remove-script-filter-cruft
Browse files Browse the repository at this point in the history
remove cruft left after removal of script filtering
  • Loading branch information
haarg authored May 12, 2024
2 parents bf3ba16 + 2e16212 commit e790245
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions t/server/sanitize_query.t
Original file line number Diff line number Diff line change
Expand Up @@ -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' } } }
Expand Down

0 comments on commit e790245

Please sign in to comment.