renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create
This commit is contained in:
@@ -245,7 +245,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn twice_empty() {
|
||||
let db = Arc::new(::kvdb_memorydb::in_memory(0));
|
||||
let db = Arc::new(::kvdb_memorydb::create(0));
|
||||
|
||||
{
|
||||
let store = super::create(db.clone(), None, Dummy(vec![]));
|
||||
@@ -274,7 +274,7 @@ mod tests {
|
||||
PendingTransaction::new(signed, condition)
|
||||
}).collect();
|
||||
|
||||
let db = Arc::new(::kvdb_memorydb::in_memory(0));
|
||||
let db = Arc::new(::kvdb_memorydb::create(0));
|
||||
|
||||
{
|
||||
// nothing written yet, will write pending.
|
||||
@@ -313,7 +313,7 @@ mod tests {
|
||||
PendingTransaction::new(signed, None)
|
||||
});
|
||||
|
||||
let db = Arc::new(::kvdb_memorydb::in_memory(0));
|
||||
let db = Arc::new(::kvdb_memorydb::create(0));
|
||||
{
|
||||
// nothing written, will write bad.
|
||||
let store = super::create(db.clone(), None, Dummy(transactions.clone()));
|
||||
|
||||
Reference in New Issue
Block a user