Add tests for colors in configs

- Identifying invalid color configs
- Upgrading config from no colors -> colors
This commit is contained in:
Aaron Lichtman 2019-11-06 02:49:47 +01:00
parent 8053d250f4
commit eb1ed3c0cd
No known key found for this signature in database
GPG key ID: 22368077DE9F9903
5 changed files with 54 additions and 7 deletions

View file

@ -0,0 +1,15 @@
default_hour: 9
default_minute: 0
editor: ""
encrypt: false
highlight: true
journals:
default: features/journals/simple.journal
linewrap: 80
tagsymbols: "@"
template: false
timeformat: "%Y-%m-%d %H:%M"
indent_character: "|"
colors:
date: not-a-color
title: also-not-a-color

View file

@ -0,0 +1,12 @@
default_hour: 9
default_minute: 0
editor: ""
encrypt: false
highlight: true
journals:
default: features/journals/simple.journal
linewrap: 80
tagsymbols: "@"
template: false
timeformat: "%Y-%m-%d %H:%M"
indent_character: "|"