summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rrule.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/rrule.rs b/tests/rrule.rs
index 225ae4b..65aed6c 100644
--- a/tests/rrule.rs
+++ b/tests/rrule.rs
@@ -4,8 +4,8 @@ extern crate rrule;
use chrono::prelude::*;
use chrono_tz::UTC;
-use rrule::rrule::RRule;
use rrule::options::*;
+use rrule::rrule::RRule;
#[cfg(test)]
mod test {
@@ -23,7 +23,6 @@ mod test {
}
fn test_recurring(options: ParsedOptions, expected_dates: &Vec<DateTime<Utc>>) {
-
let mut rrule = RRule::new(options);
let res = rrule.all();
@@ -41,8 +40,7 @@ mod test {
#[test]
fn yearly() {
- let options =
- ParsedOptions::new(Frequenzy::YEARLY, &ymd_hms(1997, 9, 2, 9, 0, 0)).count(3);
+ let options = ParsedOptions::new(Frequenzy::YEARLY, &ymd_hms(1997, 9, 2, 9, 0, 0)).count(3);
test_recurring(
options,
&vec![