summaryrefslogtreecommitdiffstats
path: root/t/chainlint/dqstring-line-splice.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/dqstring-line-splice.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/chainlint/dqstring-line-splice.test b/t/chainlint/dqstring-line-splice.test
new file mode 100644
index 0000000..b407144
--- /dev/null
+++ b/t/chainlint/dqstring-line-splice.test
@@ -0,0 +1,7 @@
+# LINT: line-splice within DQ-string
+'"
+echo 'fatal: reword option of --fixup is mutually exclusive with'\
+ '--patch/--interactive/--all/--include/--only' >expect &&
+test_must_fail git commit --fixup=reword:HEAD~ $1 2>actual &&
+test_cmp expect actual
+"'