Skip to content

Commit

Permalink
fixed test for list_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
videlalvaro committed Apr 29, 2010
1 parent a656fad commit d4e2192
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Open the Terminal and type:

> cd path/to/bitcask/ebin
> erlc path/to/phpcask/php_cask.erl
> erl -sname phpcask
> erl -sname phpcask -pa ../deps/ebloom/ebin/

Inside the erlang CLI:

Expand Down
5 changes: 4 additions & 1 deletion test.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
$phpcask = new PHPCask('phpcask@localhost', $argv[1]);
var_dump($phpcask->put("foo", "bar"));
var_dump($phpcask->get("foo"));
var_dump($phpcask->put("foo2", "bar2"));
var_dump($phpcask->list_keys());
var_dump($phpcask->delete("foo"));
var_dump($phpcask->get("foo"));
var_dump($phpcask->get("foo"));
var_dump($phpcask->list_keys());

0 comments on commit d4e2192

Please sign in to comment.