summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local>2021-02-15 16:12:04 +0100
committerFredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local>2021-02-15 16:12:04 +0100
commit8cc0d3ac0f8e7030ff40958ffe63f76087c0c00e (patch)
tree8b4a58da1ec87fb581908656baaf0c8c8bb7750c /tests
parent5a7a41849a9bdd2e92addeb74c178ef713adeb2d (diff)
downloadrust_rrule-8cc0d3ac0f8e7030ff40958ffe63f76087c0c00e.zip
infinite loop bug fix
Diffstat (limited to 'tests')
-rw-r--r--tests/rrule.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rrule.rs b/tests/rrule.rs
index e6d3376..9308360 100644
--- a/tests/rrule.rs
+++ b/tests/rrule.rs
@@ -25,13 +25,14 @@ mod test {
let rrule = RRule::new(options);
let res = rrule.all();
+ println!("Acutal: {:?}", res);
+ println!("Expected: {:?}", expected_dates);
assert_eq!(
res.len(),
expected_dates.len(),
"Expected number of returned dates to be equal to the expected"
);
- println!("Acutal: {:?}", res);
for (actual, exptected) in res.iter().zip(expected_dates) {
assert_eq!(actual, exptected);
}