]> git.droids-corp.org - git-central.git/blobdiff - tests/t1000-commit-msg-ticket-hook.sh
Test the re being on the second line.
[git-central.git] / tests / t1000-commit-msg-ticket-hook.sh
index 6a0b59163a4cf36375627f9fd7f4780becd78150..ffad6f32d7dda088a41bd28301ef905d30517154 100644 (file)
@@ -31,6 +31,14 @@ test_expect_success 'accepts with re' '
        git commit -m "first re #3200"
 '
 
+test_expect_success 'accepts with re on the second line' '
+       echo "$test_name" > file &&
+       git add file &&
+       echo "line one" > msg
+       echo "line two re #3200" >> msg
+       git commit -F msg
+'
+
 test_expect_success 'accepts with RE' '
        echo "$test_name" > file &&
        git add file &&