(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestBugNew(t *testing.T) { |
| 12 | env, _ := testenv.NewTestEnvAndUser(t) |
| 13 | |
| 14 | err := runBugNew(env, bugNewOptions{ |
| 15 | nonInteractive: true, |
| 16 | message: "message", |
| 17 | title: "title", |
| 18 | }) |
| 19 | require.NoError(t, err) |
| 20 | require.Regexp(t, "^[0-9A-Fa-f]{7} created\n$", env.Out.String()) |
| 21 | } |
nothing calls this directly
no test coverage detected