pretty assert

This commit is contained in:
veeso
2021-05-06 21:57:04 +02:00
parent c0eb98c3f9
commit 892be42988
33 changed files with 101 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn test_fs_explorer_builder_new_default() {
let explorer: FileExplorer = FileExplorerBuilder::new().build();

View File

@@ -539,6 +539,8 @@ mod tests {
use super::*;
use crate::fs::{FsDirectory, FsFile};
use pretty_assertions::assert_eq;
use std::path::PathBuf;
use std::time::SystemTime;

View File

@@ -361,6 +361,7 @@ mod tests {
use crate::fs::{FsDirectory, FsFile};
use crate::utils::fmt::fmt_time;
use pretty_assertions::assert_eq;
use std::thread::sleep;
use std::time::{Duration, SystemTime};

View File

@@ -232,6 +232,7 @@ impl FsEntry {
mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn test_fs_fsentry_dir() {