Fix tests,

This commit is contained in:
Gav Wood 2016-03-12 09:57:57 +01:00
parent e6a273f3a7
commit 874393ba06
2 changed files with 2 additions and 1 deletions

View File

@ -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");

View File

@ -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;