diff options
Diffstat (limited to 't/chainlint/dqstring-line-splice.test')
-rw-r--r-- | t/chainlint/dqstring-line-splice.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/chainlint/dqstring-line-splice.test b/t/chainlint/dqstring-line-splice.test new file mode 100644 index 0000000000..f6aa637be8 --- /dev/null +++ b/t/chainlint/dqstring-line-splice.test @@ -0,0 +1,9 @@ +test_expect_success 'dqstring-line-splice' ' +# 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 +"' +' |