diff options
Diffstat (limited to 't/combination-select-tail-reduce')
| -rwxr-xr-x | t/combination-select-tail-reduce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/t/combination-select-tail-reduce b/t/combination-select-tail-reduce new file mode 100755 index 0000000..c1504ac --- /dev/null +++ b/t/combination-select-tail-reduce @@ -0,0 +1,30 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} ours" \ + not first \ + "${PARENT} base" \ + not first \ + "${TAIL}" \ + first \ + "${END} theirs" \ + "${HEAD} ours" \ + ours \ + common \ + "${PARENT} base" \ + base \ + common \ + "${TAIL}" \ + theirs \ + common \ + "${END} theirs" + +printf '%s\n' > file.expected \ + first \ + theirs \ + common + +normal --select-tail --reduce file + +also_interactive tt |
