summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-20 23:47:50 +0200
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-20 23:47:50 +0200
commit0f992d031ade1119e7e081e75caba93b25099b0b (patch)
treebe074ca4e61f65d91a3e091e2cc3ee883c0fa0e8 /tests
parent8b062ddeb1143e6894653274a524b63dc7c5b165 (diff)
downloadrust_rrule-0f992d031ade1119e7e081e75caba93b25099b0b.zip
restructure
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![