summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-12-13 23:13:14 -0500
committerDan Davison <dandavison7@gmail.com>2021-12-13 23:21:31 -0500
commit8b408cc57f2fe79aae9df3a891b7793bdbe014b4 (patch)
tree7b557bccdad645c6a697f5714a10cb41ef24402a
parentbc8676dd4de9775c9327ca6c72936d6846ee7cf0 (diff)
Clean up DeltaTest argument
-rw-r--r--src/handlers/hunk.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handlers/hunk.rs b/src/handlers/hunk.rs
index 9f644eea..460dd6c8 100644
--- a/src/handlers/hunk.rs
+++ b/src/handlers/hunk.rs
@@ -288,7 +288,8 @@ mod tests {
#[ignore] // FIXME
fn test_color_words_map_styles() {
DeltaTest::with(&[
- "--map-styles='red => bold yellow #dddddd, green => bold blue #dddddd'",
+ "--map-styles",
+ "red => bold yellow #dddddd, green => bold blue #dddddd",
])
.with_calling_process("git diff --color-words")
.with_input(GIT_DIFF_COLOR_WORDS)