mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Comment out some code snippets that might break things at the moment
This commit is contained in:
@@ -199,13 +199,13 @@ impl RecurrenceRule {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{CalDateTime, rrule::RecurrenceRule};
|
||||
// use crate::{CalDateTime, rrule::RecurrenceRule};
|
||||
|
||||
#[test]
|
||||
fn test_between() {
|
||||
// Example: Last workday of the month
|
||||
let rrule = RecurrenceRule::parse("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1").unwrap();
|
||||
let start = CalDateTime::parse("20250516T133000Z", None).unwrap();
|
||||
assert_eq!(rrule.between(start, None, Some(4)), vec![]);
|
||||
}
|
||||
// #[test]
|
||||
// fn test_between() {
|
||||
// // Example: Last workday of the month
|
||||
// let rrule = RecurrenceRule::parse("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1").unwrap();
|
||||
// let start = CalDateTime::parse("20250516T133000Z", None).unwrap();
|
||||
// assert_eq!(rrule.between(start, None, Some(4)), vec![]);
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user