/t/SearchCode.t
Perl | 25 lines | 20 code | 4 blank | 1 comment | 0 complexity | bc195220484224fd95484db4695d3d38 MD5 | raw file
Possible License(s): Apache-2.0
- #!/usr/bin/env perl
- use strict;
- use warnings;
- use Test::More;
- use DDG::Test::Spice;
- ddg_spice_test(
- [qw( DDG::Spice::SearchCode )],
- 'perl next' => test_spice(
- '/js/spice/search_code/perl%20next',
- caller => 'DDG::Spice::SearchCode'
- ),
- 'underscore.js bind' => test_spice(
- '/js/spice/search_code/underscore.js%20bind',
- caller => 'DDG::Spice::SearchCode',
- ),
- 'php print_r' => test_spice(
- '/js/spice/search_code/php%20print_r',
- caller => 'DDG::Spice::SearchCode',
- ),
- );
- done_testing;