1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 13:37:48 +00:00

tests ~ (sub-crates) fix 'edition=2018' module import errors

- ref: <https://users.rust-lang.org/t/imports-can-only-refer-to-extern-crate-names/24388> @@ <https://archive.is/iCaXp>
This commit is contained in:
Roy Ivy III 2020-08-08 22:42:18 -05:00
parent 925137afce
commit c3893edf94
3 changed files with 4 additions and 4 deletions

View file

@ -159,8 +159,8 @@ impl<'a> MemoryDecoder<'a> {
#[cfg(test)]
mod tests {
use super::*;
use byteorder_io::ByteOrder;
use peekreader::PeekReader;
use crate::byteorder_io::ByteOrder;
use crate::peekreader::PeekReader;
use std::io::Cursor;
#[test]

View file

@ -126,7 +126,7 @@ impl<'b> HasError for MultifileReader<'b> {
#[cfg(test)]
mod tests {
use super::*;
use mockstream::*;
use crate::mockstream::*;
use std::io::{Cursor, ErrorKind, Read};
#[test]

View file

@ -76,7 +76,7 @@ impl<R: HasError> HasError for PartialReader<R> {
#[cfg(test)]
mod tests {
use super::*;
use mockstream::*;
use crate::mockstream::*;
use std::io::{Cursor, ErrorKind, Read};
#[test]