X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/625e8de7db58c85f137e78aaef258afcb1a3151c..ef954fe616e3a8012d247292dc8a82a4e3d8d333:/t/t3300-edit.sh diff --git a/t/t3300-edit.sh b/t/t3300-edit.sh index 5772e48..5c2d32e 100755 --- a/t/t3300-edit.sh +++ b/t/t3300-edit.sh @@ -93,7 +93,7 @@ mkeditor () { cat > "$1" <> "\$1" +printf "\n$1" >> "\$1" EOF chmod a+x "$1" } @@ -148,7 +148,7 @@ git config --unset core.editor git config --unset stgit.editor mkeditor twoliner -test_expect_failure 'Both noninterative and interactive editing' ' +test_expect_success 'Both noninterative and interactive editing' ' EDITOR=./twoliner stg edit -e -m "oneliner" p2 && test "$(msg HEAD)" = "oneliner/twoliner" '