diff options
Diffstat (limited to 't')
-rw-r--r-- | t/01_suggest.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/01_suggest.t b/t/01_suggest.t index 5660d24..24c24a1 100644 --- a/t/01_suggest.t +++ b/t/01_suggest.t @@ -9,6 +9,6 @@ isa_ok($suggest->ua, "LWP::UserAgent", "ua() retuens LWP"); my @data = $suggest->complete("google"); is($data[0]->{query}, "google maps", "google completes to google maps"); -ok($data[0]->{results}, "google has more than 0 results"); +is($data[0]->{rank}, 0, "google is first"); is_deeply( [ $suggest->complete("udfg67a") ], [ ], "empty list" ); |