Fix use... in test modules
This commit is contained in:
parent
007da59275
commit
b5da0cb613
3 changed files with 7 additions and 6 deletions
|
@ -113,7 +113,8 @@ impl Into<String> for FileID {
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
|
||||
use super::{FileID, FileIDType};
|
||||
use storage::file::id::FileID;
|
||||
use storage::file::id_type::FileIDType;
|
||||
|
||||
#[test]
|
||||
fn file_id_from_string() {
|
||||
|
|
|
@ -100,10 +100,10 @@ impl Debug for File {
|
|||
mod test {
|
||||
// we use the JSON parser here, so we can generate FileHeaderData
|
||||
use storage::json::parser::JsonHeaderParser;
|
||||
use super::match_header_spec;
|
||||
use storage::file::header::match_header_spec;
|
||||
use storage::parser::{FileHeaderParser, ParserError};
|
||||
use storage::file::FileHeaderData as FHD;
|
||||
use storage::file::FileHeaderSpec as FHS;
|
||||
use storage::file::header::data::FileHeaderData as FHD;
|
||||
use storage::file::header::spec::FileHeaderSpec as FHS;
|
||||
|
||||
#[test]
|
||||
fn test_spec_matching() {
|
||||
|
|
|
@ -150,8 +150,8 @@ mod test {
|
|||
|
||||
use super::JsonHeaderParser;
|
||||
use storage::parser::{FileHeaderParser, ParserError};
|
||||
use storage::file::FileHeaderData as FHD;
|
||||
use storage::file::FileHeaderSpec as FHS;
|
||||
use storage::file::header::data::FileHeaderData as FHD;
|
||||
use storage::file::header::spec::FileHeaderSpec as FHS;
|
||||
|
||||
#[test]
|
||||
fn test_deserialization() {
|
||||
|
|
Loading…
Reference in a new issue