summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTau Gärtli <git@tau.garden>2024-08-23 16:43:29 +0200
committerThomas Otto <th1000s@posteo.net>2024-09-08 23:57:24 +0200
commite1f3e618b7fc208117ac259b2a6e77ae39fe81a8 (patch)
tree311ccc2a47a0f2ee709173b4f05ebc46eb0af032 /src
parent5363030e969dafbe5dfc4ad4d134297b77441c27 (diff)
Add missing test combinations
Diffstat (limited to 'src')
-rw-r--r--src/options/theme.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options/theme.rs b/src/options/theme.rs
index 554d5b0..642243e 100644
--- a/src/options/theme.rs
+++ b/src/options/theme.rs
@@ -162,7 +162,12 @@ mod tests {
(Some("Nord"), None, "Nord", Dark),
(None, Some(Dark), DEFAULT_DARK_SYNTAX_THEME, Dark),
(None, Some(Light), DEFAULT_LIGHT_SYNTAX_THEME, Light),
+ (Some("GitHub"), Some(Light), "GitHub", Light),
+ (Some("GitHub"), Some(Dark), "GitHub", Light), // TODO: This should be Dark.
+ (Some("Nord"), Some(Light), "Nord", Light),
+ (Some("Nord"), Some(Dark), "Nord", Dark),
(Some("none"), None, "none", Dark),
+ (Some("none"), Some(Dark), "none", Dark),
(Some("None"), Some(Light), "none", Light),
] {
let mut args = vec![];