interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4256-am-format-flowed.sh

19 lines · 456 bytes Raw Blame History
1#!/bin/sh
2
3test_description='test format=flowed support of git am'
4
5. ./test-lib.sh
6
7test_expect_success 'setup' '
8 cp "$TEST_DIRECTORY/t4256/1/mailinfo.c.orig" mailinfo.c &&
9 git add mailinfo.c &&
10 git commit -m initial
11'
12
13test_expect_success 'am with format=flowed' '
14 git am <"$TEST_DIRECTORY/t4256/1/patch" 2>stderr &&
15 test_grep "warning: Patch sent with format=flowed" stderr &&
16 test_cmp "$TEST_DIRECTORY/t4256/1/mailinfo.c" mailinfo.c
17'
18
19test_done