aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2023-01-18 17:08:02 +0100
committerMichael Muré <batolettre@gmail.com>2023-01-18 19:09:32 +0100
commit3e41812ddb0c1879f9c37a7f952db073b115c85b (patch)
tree9c4bbe3fc62b0fa429a3e0392329d06d0ff47f45 /commands/bug/bug_test.go
parent248486708911105e7067cb1061607b712c39a60e (diff)
downloadgit-bug-3e41812ddb0c1879f9c37a7f952db073b115c85b.tar.gz
commands: different pattern to detect changed flags
Diffstat (limited to 'commands/bug/bug_test.go')
-rw-r--r--commands/bug/bug_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/bug/bug_test.go b/commands/bug/bug_test.go
index e6fadd6f..6b0aa4e0 100644
--- a/commands/bug/bug_test.go
+++ b/commands/bug/bug_test.go
@@ -72,9 +72,10 @@ $`
env, _ := testenv.NewTestEnvAndBug(t)
opts := bugOptions{
- sortDirection: "asc",
- sortBy: "creation",
- outputFormat: testcase.format,
+ sortDirection: "asc",
+ sortBy: "creation",
+ outputFormat: testcase.format,
+ outputFormatChanged: true, // disable auto-detect
}
require.NoError(t, runBug(env, opts, []string{}))