forestdb.lib: Add back the forestdb each test.

db4
Doug Coleman 2014-12-11 15:02:27 -08:00
parent 4d5f243fd6
commit c1e9993665
1 changed files with 22 additions and 0 deletions

View File

@ -351,3 +351,25 @@ IN: forestdb.lib
[ [ seqnum>> ] [ deleted?>> ] bi 2array ] map
] with-forestdb-path
] unit-test
{
{
{ 1 "key1" }
{ 2 "key2" }
{ 3 "key3" }
{ 4 "key4" }
{ 5 "key5" }
}
}
[
delete-test-db-1 test-db-1 [
5 set-kv-n
fdb-commit-normal
[
0 10 [
[ seqnum>> ]
[ [ key>> ] [ keylen>> ] bi alien/length>string ] bi 2array ,
] with-fdb-byseq-each
] { } make
] with-forestdb-path
] unit-test