diff options
Diffstat (limited to 't/select-tail-multiple-hunks')
| -rwxr-xr-x | t/select-tail-multiple-hunks | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/t/select-tail-multiple-hunks b/t/select-tail-multiple-hunks new file mode 100755 index 0000000..eaa80f1 --- /dev/null +++ b/t/select-tail-multiple-hunks @@ -0,0 +1,28 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} first" \ + first-head \ + "${TAIL}" \ + first-tail \ + "${END}" \ + between \ + "${HEAD} second" \ + second-head \ + "${PARENT} middle" \ + second-middle \ + "${TAIL}" \ + second-tail \ + "${END}" \ + after + +printf '%s\n' > file.expected \ + first-tail \ + between \ + second-tail \ + after + +normal --select-tail --no-reduce file + +also_interactive tt |
