diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-09-27 21:03:07 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-09-27 21:03:07 +0200 |
commit | 211fa5a91930fcdeec11da5055e53b645139b432 (patch) | |
tree | b8288fec01766e56fe857f29ddb7e3beffb0a306 | |
parent | 62cab4b862f21cf6fe45e6d2e2209d3c7930bc22 (diff) |
Fix test: Do not iterate over years and do take only 12 instances
-rw-r--r-- | src/iter.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iter.rs b/src/iter.rs index 4e7c18c..4f178ed 100644 --- a/src/iter.rs +++ b/src/iter.rs @@ -388,9 +388,10 @@ mod type_tests_filter_interface { fn test_compile() { // This test is solely to check whether this compiles and the API is nice let _ = TimeType::today() - .yearly(1) + .daily(1) .unwrap() .every(::indicator::Day::Monday.into_filter().or(::indicator::Month::January)) + .take(12) .collect::<Vec<_>>(); } } |