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:
parent
925137afce
commit
c3893edf94
3 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue