mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-15 16:57:08 +00:00
Fix failing test code
This commit is contained in:
parent
4d2d8686c8
commit
90c77ff3b4
@ -461,7 +461,7 @@ pub mod test {
|
||||
pub use users::{User, Group, uid_t, gid_t};
|
||||
pub use users::mock::MockUsers;
|
||||
|
||||
pub use ansi_term::Style::Plain;
|
||||
pub use ansi_term::Style;
|
||||
pub use ansi_term::Colour::*;
|
||||
|
||||
pub fn newser(uid: uid_t, name: &str, group: gid_t) -> User {
|
||||
@ -476,7 +476,7 @@ pub mod test {
|
||||
|
||||
// These tests create a new, default Table object, then fill in the
|
||||
// expected style in a certain way. This means we can check that the
|
||||
// right style is being used, as otherwise, it would just be `Plain`.
|
||||
// right style is being used, as otherwise, it would just be plain.
|
||||
//
|
||||
// Doing things with fields is way easier than having to fake the entire
|
||||
// Metadata struct, which is what I was doing before!
|
||||
|
Loading…
Reference in New Issue
Block a user