Fix tests,
This commit is contained in:
parent
e6a273f3a7
commit
874393ba06
@ -364,7 +364,7 @@ mod tests {
|
|||||||
fn reopen_fork() {
|
fn reopen_fork() {
|
||||||
let mut dir = ::std::env::temp_dir();
|
let mut dir = ::std::env::temp_dir();
|
||||||
dir.push(H32::random().hex());
|
dir.push(H32::random().hex());
|
||||||
let (foo, bar, baz) = {
|
let (foo, _, _) = {
|
||||||
let mut jdb = ArchiveDB::new(dir.to_str().unwrap());
|
let mut jdb = ArchiveDB::new(dir.to_str().unwrap());
|
||||||
// history is 1
|
// history is 1
|
||||||
let foo = jdb.insert(b"foo");
|
let foo = jdb.insert(b"foo");
|
||||||
|
@ -518,6 +518,7 @@ impl JournalDB for OptionOneDB {
|
|||||||
mod tests {
|
mod tests {
|
||||||
use common::*;
|
use common::*;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use super::super::traits::JournalDB;
|
||||||
use hashdb::*;
|
use hashdb::*;
|
||||||
use log::init_log;
|
use log::init_log;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user