summaryrefslogtreecommitdiffstats
path: root/src/actions/get.rs
diff options
context:
space:
mode:
authorVincent Breitmoser <look@my.amazin.horse>2019-01-20 13:45:52 +0100
committerVincent Breitmoser <look@my.amazin.horse>2019-01-20 14:07:24 +0100
commit82a6b730f657f6f66a6bd8caae0c87ae28dea558 (patch)
treebb53acaccef06a1f87b38a40d7f240408c870f99 /src/actions/get.rs
parent7e84f2e6db1028f60193ecd40ee935fe629902cb (diff)
introduce stdioutils, move test fixtures over there
Diffstat (limited to 'src/actions/get.rs')
-rw-r--r--src/actions/get.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/get.rs b/src/actions/get.rs
index 7c09470..f059ea0 100644
--- a/src/actions/get.rs
+++ b/src/actions/get.rs
@@ -24,6 +24,7 @@ mod tests {
use super::*;
use testutils;
+ use utils::stdioutils;
#[test]
fn test_get_calendars() {
@@ -31,6 +32,6 @@ mod tests {
action_get(&["calendars"]).unwrap();
- assert_eq!("first\nsecond\nsecond/second_sub\n", testutils::test_stdout_clear());
+ assert_eq!("first\nsecond\nsecond/second_sub\n", stdioutils::test_stdout_clear());
}
}