(t *testing.T)
| 456 | } |
| 457 | |
| 458 | func TestPRStatus_error_ReadBranchConfig(t *testing.T) { |
| 459 | rs, cleanup := run.Stub() |
| 460 | defer cleanup(t) |
| 461 | // We only need the one stub because this fails early |
| 462 | rs.Register(`git config --get-regexp \^branch\\.`, 2, "") |
| 463 | _, err := runCommand(initFakeHTTP(), "blueberries", true, "") |
| 464 | assert.Error(t, err) |
| 465 | } |
nothing calls this directly
no test coverage detected