chiark / gitweb /
git-debrebase: test suite: gdr-subcommands: use xopts for N*
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 22:20:43 +0000 (23:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Jun 2018 10:50:38 +0000 (11:50 +0100)
This stylistic change improves the orthogonality.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-subcommands

index fc76b87..fdea945 100755 (executable)
@@ -75,8 +75,12 @@ subcmd () {
                N*)
                        t-expect-fail E:. \
                        t-git-debrebase $xopts $subcmd
-                       t-git-debrebase $xopts --noop-ok $subcmd
+                       xopts+=' --noop-ok'
+                       next_checkletter
                        ;;
+               esac
+
+               case "$checkletters" in
                [EF]:*)
                        t-expect-fail "$checkletters" \
                        t-git-debrebase $xopts $subcmd