PageRenderTime 55ms CodeModel.GetById 28ms RepoModel.GetById 1ms app.codeStats 0ms

/t/SearchCode.t

http://github.com/duckduckgo/zeroclickinfo-spice
Perl | 25 lines | 20 code | 4 blank | 1 comment | 0 complexity | bc195220484224fd95484db4695d3d38 MD5 | raw file
Possible License(s): Apache-2.0
  1. #!/usr/bin/env perl
  2. use strict;
  3. use warnings;
  4. use Test::More;
  5. use DDG::Test::Spice;
  6. ddg_spice_test(
  7. [qw( DDG::Spice::SearchCode )],
  8. 'perl next' => test_spice(
  9. '/js/spice/search_code/perl%20next',
  10. caller => 'DDG::Spice::SearchCode'
  11. ),
  12. 'underscore.js bind' => test_spice(
  13. '/js/spice/search_code/underscore.js%20bind',
  14. caller => 'DDG::Spice::SearchCode',
  15. ),
  16. 'php print_r' => test_spice(
  17. '/js/spice/search_code/php%20print_r',
  18. caller => 'DDG::Spice::SearchCode',
  19. ),
  20. );
  21. done_testing;