Permalink
Browse files

fixed test for list_keys

  • Loading branch information...
1 parent a656fad commit d4e2192e88d66cb2537d82c1e93ea77eb7188cd9 @videlalvaro committed Apr 29, 2010
Showing with 5 additions and 2 deletions.
  1. +1 −1 README.md
  2. +4 −1 test.php
View
@@ -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:
View
@@ -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.