diff options
| -rw-r--r-- | Changes | 4 | ||||
| -rw-r--r-- | dist.ini | 2 | ||||
| -rw-r--r-- | t/20_search.t | 18 |
3 files changed, 13 insertions, 11 deletions
@@ -1,6 +1,8 @@ -0.1503 +0.1600 Thu Mar 15 15:30:47 GMT 2012 + - catch errors in reading sockets (Damien Krotkine) - added Riak search (Germain Maurice) - fixed package name (David Hull) + - various documentation updates 0.1502 Thu Jun 23 15:39:10 BST 2011 - added status line to REST response (Robin Edwards) @@ -3,7 +3,7 @@ author = franck cuny <franck@lumberjaph.net>, robin edwards <robin.ge@gmail.com> license = Perl_5 copyright_holder = linkfluence copyright_year = 2011 -version = 0.1502 +version = 0.1600 [@Filter] bundle = @Basic diff --git a/t/20_search.t b/t/20_search.t index b25e811..7a6ee99 100644 --- a/t/20_search.t +++ b/t/20_search.t @@ -15,16 +15,16 @@ test_riak_rest { ok $obj->key, 'key created'; is $client->search( - index => $bucket_name, - wt => "json", - q => "field:indexed")->{response}->{docs}[0]->{id}, - $obj->key, - 'search with index in path'; + index => $bucket_name, + wt => "json", + q => "field:indexed")->{response}->{docs}[0]->{id}, + $obj->key, + 'search with index in path'; is $client->search( - wt => "json", - q => "$bucket_name.field:indexed")->{response}->{docs}[0]->{id}, - $obj->key, - 'search with index prefixes in query'; + wt => "json", + q => "$bucket_name.field:indexed")->{response}->{docs}[0]->{id}, + $obj->key, + 'search with index prefixes in query'; $obj->delete; } |
