summaryrefslogtreecommitdiff
path: root/src/status.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/status.rs')
-rw-r--r--src/status.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/status.rs b/src/status.rs
index 247023c..e6bac17 100644
--- a/src/status.rs
+++ b/src/status.rs
@@ -5,7 +5,7 @@
/// example, a step is inferred to be blocked if any of it
/// dependencies are not finished.
-#[derive(Clone,Debug,PartialEq)]
+#[derive(Clone, Debug, PartialEq)]
pub enum Status {
Unknown,
Goal,
@@ -41,7 +41,6 @@ impl PartialEq<&Status> for Status {
}
}
-
#[cfg(test)]
mod test {
use super::Status;
@@ -56,10 +55,9 @@ mod test {
assert_eq!(Status::from_text("blocked").unwrap(), Status::Blocked);
}
-
#[test]
fn sad_from_text() {
let x = Status::from_text("x");
assert_eq!(x, None);
- }
+ }
}