root/trunk/antimatter/tim/Bot-BasicBot-Pluggable/t/03store.t
| Revision 53, 341 bytes (checked in by bkuhn, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | #!perl |
| 2 | use warnings; |
| 3 | use strict; |
| 4 | use Test::More no_plan => 1; |
| 5 | |
| 6 | use Bot::BasicBot::Pluggable::Store; |
| 7 | ok( my $store = Bot::BasicBot::Pluggable::Store->new ); |
| 8 | is( $store->keys('test'), 0, "no keys" ); |
| 9 | ok( $store->set("test", "foo", "bar"), "set foo" ); |
| 10 | is( $store->keys('test'), 1, "1 keys" ); |
| 11 | is( $store->get("test", "foo"), "bar", "is set"); |
Note: See TracBrowser for help on using the browser.