summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-05-29 20:39:45 +0100
committerBen S <ogham@bsago.me>2015-05-29 20:39:45 +0100
commit90c77ff3b44f21ff65298ea0fd162767694e44a7 (patch)
treebda696fa8e3988538277b4b34ee3dd77a8918e6f /src
parent4d2d8686c881fb83e1a3ae0609a75c54b17fc845 (diff)
Fix failing test code
Diffstat (limited to 'src')
-rw-r--r--src/output/details.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/details.rs b/src/output/details.rs
index c784070..e7dada7 100644
--- a/src/output/details.rs
+++ b/src/output/details.rs
@@ -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!