summaryrefslogtreecommitdiffstats
path: root/src/iter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/iter.rs')
-rw-r--r--src/iter.rs3
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<_>>();
}
}