Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 01074dc

Browse files
committed
Add test
1 parent 59d2728 commit 01074dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/src/test/kotlin/at/bitfire/ical4android/validation/FixInvalidDayOffsetPreprocessorTest.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ class FixInvalidDayOffsetPreprocessorTest {
3535
)
3636
}
3737

38+
@Test
39+
fun test_FixString_CompleteICalProperty() {
40+
fixAndAssert(
41+
"REFRESH-INTERVAL;VALUE=DURATION:P1D",
42+
"REFRESH-INTERVAL;VALUE=DURATION:PT1D"
43+
)
44+
}
45+
3846
@Test
3947
fun test_FixString_DayOffsetFrom_Invalid() {
4048
fixAndAssert("DURATION:-P1D", "DURATION:-PT1D")

0 commit comments

Comments
 (0)