From a1a392d212920871843f0753aa8ce47e3013b2c2 Mon Sep 17 00:00:00 2001 From: jagtalon Date: Thu, 15 Jan 2015 14:49:25 +0000 Subject: [PATCH] IsAwesome::amneher: Clean up. --- lib/DDG/Goodie/IsAwesome/amneher.pm | 6 +++--- t/IsAwesome/amneher.t | 7 +------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/DDG/Goodie/IsAwesome/amneher.pm b/lib/DDG/Goodie/IsAwesome/amneher.pm index c73f8346c..41674de89 100644 --- a/lib/DDG/Goodie/IsAwesome/amneher.pm +++ b/lib/DDG/Goodie/IsAwesome/amneher.pm @@ -14,8 +14,8 @@ primary_example_queries "duckduckhack amneher"; category "special"; topics "special_interest", "geek"; code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/amneher.pm"; -attribution github => ["amneher"], - twitter => "amneher"; +attribution github => ["amneher", "Andrew Neher"], + twitter => ["amneher", "Andrew Neher"]; triggers start => "duckduckhack amneher"; @@ -23,7 +23,7 @@ triggers start => "duckduckhack amneher"; handle remainder => sub { return if $_; - return "amneher is awesome and has just completed the duckduckhack goodie tutorial!"; + return "amneher is awesome and has successfully completed the DuckDuckHack Goodie tutorial!"; }; 1; diff --git a/t/IsAwesome/amneher.t b/t/IsAwesome/amneher.t index 8168b1216..370d015c8 100644 --- a/t/IsAwesome/amneher.t +++ b/t/IsAwesome/amneher.t @@ -10,12 +10,7 @@ zci is_cached => 1; ddg_goodie_test( [qw( DDG::Goodie::IsAwesome::amneher )], - # At a minimum, be sure to include tests for all: - # - primary_example_queries - # - secondary_example_queries - 'duckduckhack amneher' => test_zci('amneher is awesome and has just completed the duckduckhack goodie tutorial!'), - # Try to include some examples of queries on which it might - # appear that your answer will trigger, but does not. + 'duckduckhack amneher' => test_zci('amneher is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'), 'duckduckhack amneher is awesome' => undef, );