1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

khal: fix trailing slash bug for singlefile calendars

Fix the trailing slash bug described in issue #8024 by conditionally adding a slash only for filesystem type, not for singlefile. Also update the expected test output to match the correct order.
This commit is contained in:
Malik 2025-10-29 14:19:10 +01:00 committed by Matthieu Coudron
parent 58d90d298d
commit b8082c6803
2 changed files with 10 additions and 8 deletions

View file

@ -8,6 +8,15 @@ type=calendar
[[testSinglefile]]
path = $XDG_CONFIG_HOME/cal/timetable.ics
readonly = True
addresses= study@university.edu
priority=10
type=calendar
[[testWithAddresss]]
path = /home/hm-user/$XDG_CONFIG_HOME/cal/testWithAddresss/
addresses= john.doe@email.com
@ -23,13 +32,6 @@ priority=10
type=calendar
[[testSinglefile]]
path = $XDG_CONFIG_HOME/cal/timetable.ics
readonly = True
addresses= study@university.edu
priority=10
type=calendar
[[testcontacts-automaticallyCollected]]
path = /home/hm-user/$XDG_CONFIG_HOME/card/testcontacts/automaticallyCollected