Hide closed/merged PRs from default branch
Fixes #805

We should not display closed/merged PRs under the `Current Branch` heading if the current branch is also the default branch - otherwise they will always show up when running `gh pr status` from the default branch

This can occur is someone accidentally gets the branches around the wrong way trying to make a PR and does `master/default -> branch`
### Describe the bug

`gh version 0.6.4 (2020-04-01)`

Not sure if this counts as a bug or not but it is annoying. Someone created a PR on our repo but accidentally got the branches the wrong way around - creating one for merging master into their branch

They swiftly closed the PR but as they cannot be deleted (unless GitHub themselves intervene) this PR forever shows up when I run `gh pr status` from the master branch

### Steps to reproduce the behavior

1. Create a Pull Request but set the `base` as your branch and your compare as `master`
2. Close the PR
3. Run `gh pr status` from master
4. See the PR listed under the `Current Branch` heading forever

```
/path/to/repo (master) $ gh pr status

Relevant pull requests in user/repo

Current branch
  #100  I can't believe I accidentally got the branches mixed [master] - Closed

Created by you
  You have no open pull requests

Requesting a code review from you
  You have no pull requests to review
```

### Expected vs actual behavior

Unsure to be perfectly honest what the expected behaviour would be and am happy for any inputs. Maybe just filter out closed PRs for merging master into a branch? I can't immediately see a use case where you'd ever want to see them but filtering out valid data seems a bit off all the same

Closed PRs for merging master into a branch will never disappear
diff --git a/api/fake_http.go b/api/fake_http.go
index a88c9df173d..d8b7506a61c 100644
--- a/api/fake_http.go
+++ b/api/fake_http.go
@@ -70,6 +70,25 @@ func (f *FakeHTTP) StubRepoResponseWithPermission(owner, repo, permission string
 	f.responseStubs = append(f.responseStubs, resp)
 }
 
+func (f *FakeHTTP) StubRepoResponseWithDefaultBranch(owner, repo, defaultBranch string) {
+	body := bytes.NewBufferString(fmt.Sprintf(`
+		{ "data": { "repo_000": {
+			"id": "REPOID",
+			"name": "%s",
+			"owner": {"login": "%s"},
+			"defaultBranchRef": {
+				"name": "%s"
+			},
+			"viewerPermission": "READ"
+		} } }
+	`, repo, owner, defaultBranch))
+	resp := &http.Response{
+		StatusCode: 200,
+		Body:       ioutil.NopCloser(body),
+	}
+	f.responseStubs = append(f.responseStubs, resp)
+}
+
 func (f *FakeHTTP) StubForkedRepoResponse(forkFullName, parentFullName string) {
 	forkRepo := strings.SplitN(forkFullName, "/", 2)
 	parentRepo := strings.SplitN(parentFullName, "/", 2)
diff --git a/command/pr.go b/command/pr.go
index a5b1f0079af..22f083b974b 100644
--- a/command/pr.go
+++ b/command/pr.go
@@ -101,13 +101,19 @@ func prStatus(cmd *cobra.Command, args []string) error {
 	fmt.Fprintln(out, "")
 
 	printHeader(out, "Current branch")
-	if prPayload.CurrentPR != nil {
-		printPrs(out, 0, *prPayload.CurrentPR)
+	currentPR := prPayload.CurrentPR
+	currentBranch, _ := ctx.Branch()
+	noPRMessage := fmt.Sprintf("  There is no pull request associated with %s", utils.Cyan("["+currentPRHeadRef+"]"))
+	if currentPR != nil {
+		if baseRepo.(*api.Repository).DefaultBranchRef.Name == currentBranch && currentPR.State != "OPEN" {
+			printMessage(out, noPRMessage)
+		} else {
+			printPrs(out, 0, *currentPR)
+		}
 	} else if currentPRHeadRef == "" {
 		printMessage(out, "  There is no current branch")
 	} else {
-		message := fmt.Sprintf("  There is no pull request associated with %s", utils.Cyan("["+currentPRHeadRef+"]"))
-		printMessage(out, message)
+		printMessage(out, noPRMessage)
 	}
 	fmt.Fprintln(out)
 

diff --git a/command/pr_test.go b/command/pr_test.go
index 074420debae..aa4633541e3 100644
--- a/command/pr_test.go
+++ b/command/pr_test.go
@@ -190,6 +190,27 @@ func TestPRStatus_currentBranch_showTheMostRecentPR(t *testing.T) {
 	}
 }
 
+func TestPRStatus_currentBranch_defaultBranch(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "blueberries")
+	http := initFakeHTTP()
+	http.StubRepoResponseWithDefaultBranch("OWNER", "REPO", "blueberries")
+
+	jsonFile, _ := os.Open("../test/fixtures/prStatusCurrentBranch.json")
+	defer jsonFile.Close()
+	http.StubResponse(200, jsonFile)
+
+	output, err := RunCommand(prStatusCmd, "pr status")
+	if err != nil {
+		t.Errorf("error running command `pr status`: %v", err)
+	}
+
+	expectedLine := regexp.MustCompile(`#10  Blueberries are certainly a good fruit \[blueberries\]`)
+	if !expectedLine.MatchString(output.String()) {
+		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", expectedLine, output)
+		return
+	}
+}
+
 func TestPRStatus_currentBranch_Closed(t *testing.T) {
 	initBlankContext("", "OWNER/REPO", "blueberries")
 	http := initFakeHTTP()
@@ -211,6 +232,27 @@ func TestPRStatus_currentBranch_Closed(t *testing.T) {
 	}
 }
 
+func TestPRStatus_currentBranch_Closed_defaultBranch(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "blueberries")
+	http := initFakeHTTP()
+	http.StubRepoResponseWithDefaultBranch("OWNER", "REPO", "blueberries")
+
+	jsonFile, _ := os.Open("../test/fixtures/prStatusCurrentBranchClosed.json")
+	defer jsonFile.Close()
+	http.StubResponse(200, jsonFile)
+
+	output, err := RunCommand(prStatusCmd, "pr status")
+	if err != nil {
+		t.Errorf("error running command `pr status`: %v", err)
+	}
+
+	expectedLine := regexp.MustCompile(`There is no pull request associated with \[blueberries\]`)
+	if !expectedLine.MatchString(output.String()) {
+		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", expectedLine, output)
+		return
+	}
+}
+
 func TestPRStatus_currentBranch_Merged(t *testing.T) {
 	initBlankContext("", "OWNER/REPO", "blueberries")
 	http := initFakeHTTP()
@@ -232,6 +274,27 @@ func TestPRStatus_currentBranch_Merged(t *testing.T) {
 	}
 }
 
+func TestPRStatus_currentBranch_Merged_defaultBranch(t *testing.T) {
+	initBlankContext("", "OWNER/REPO", "blueberries")
+	http := initFakeHTTP()
+	http.StubRepoResponseWithDefaultBranch("OWNER", "REPO", "blueberries")
+
+	jsonFile, _ := os.Open("../test/fixtures/prStatusCurrentBranchMerged.json")
+	defer jsonFile.Close()
+	http.StubResponse(200, jsonFile)
+
+	output, err := RunCommand(prStatusCmd, "pr status")
+	if err != nil {
+		t.Errorf("error running command `pr status`: %v", err)
+	}
+
+	expectedLine := regexp.MustCompile(`There is no pull request associated with \[blueberries\]`)
+	if !expectedLine.MatchString(output.String()) {
+		t.Errorf("output did not match regexp /%s/\n> output\n%s\n", expectedLine, output)
+		return
+	}
+}
+
 func TestPRStatus_blankSlate(t *testing.T) {
 	initBlankContext("", "OWNER/REPO", "blueberries")
 	http := initFakeHTTP()

{"TestPRView_Preview/Closed_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_webTitleBody": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_autofill": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSet": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_MERGED_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor/Open_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_fish": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/shorthand_with_directory": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/clone_arguments_with_directory": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_survey_no": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Closed_issue": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_noMatch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_numberArgWithHash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_autofill": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_branchWithOwnerArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_respectTrackingConfig": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_bash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate_org": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_defaults_multicommit": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_numberArgWithHash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_empty": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_zsh": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_interactive": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_without_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor/Closed_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web_ownerRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSetHost": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg_differentBase": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringClosed": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGetHost": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside/url_arg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_alreadyExistsDifferentBase": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_withFlags": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_reuseRemote": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate_orgWithTeam": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Draft_PR_by_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web_fullURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_in_total": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/HTTPS_URL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRemoteURLFormatting_ssh_config": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_hasMatch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_without_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/multiple_results": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone_hasParent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_withForking": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSetHost_update": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_numberArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_number": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSet_update": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside/full_name_arg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringRemoveDuplicate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_already_forked": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_alreadyExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet_not_found": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/clone_arguments": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Draft_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_in_total_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_powerShell": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_fork": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_for_the_current_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_noResultsForBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/only_args": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_survey_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Merged_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGetHost_unset": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/no_results": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/no_matches_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_blanks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/args_and_target": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRemoteURLFormatting_no_config": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/no_args": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_nonmarkdown_readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_empty_body": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_unsupported": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_defaults_monocommit": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/multiple_results_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/only_target": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_CLOSED_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_showTheMostRecentPR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_survey_no": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/SSH_URL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_notFound": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_cross_repo_same_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_nullAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_survey_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"TestPullRequest_ChecksStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Incomplete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/unsupported_hostname": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_triangularSetup": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Multiple_templates": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_RepoCreate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/Cobra_flag_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/filesystem_path": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_ttyTablePrinter_truncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/DNS_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_docs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_.github_takes_precedence": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/generic_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/Has_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_Remotes_FindByName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_current": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_forkLookup": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_resolvedRemotes_clonedFork": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestRESTGetDelete": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/current_is_prerelease": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/github.com_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGraphQLError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Empty_multiple_templates_directory": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Windows": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFuzzyAgo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Korean": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_translateRemotes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Complete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Template_in_root": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/No_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_older": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Japanese_filled": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/unknown_Cobra_command_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/macOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Linux": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL/www.github.com_URL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_newer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestTruncate/Chinese": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"TestPRView_Preview/Closed_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_webTitleBody": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_autofill": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSet": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_MERGED_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor/Open_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_fish": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/shorthand_with_directory": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/clone_arguments_with_directory": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_survey_no": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Closed_issue": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_noMatch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_numberArgWithHash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_autofill": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_branchWithOwnerArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_respectTrackingConfig": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_bash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate_org": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_defaults_multicommit": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_numberArgWithHash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_empty": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_zsh": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_interactive": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_without_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor/Closed_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web_ownerRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSetHost": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg_differentBase": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringClosed": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGetHost": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside/url_arg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_alreadyExistsDifferentBase": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_withFlags": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_reuseRemote": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoCreate_orgWithTeam": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Draft_PR_by_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web_fullURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_in_total": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/HTTPS_URL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRemoteURLFormatting_ssh_config": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_determineTrackingBranch_hasMatch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_without_metadata": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/multiple_results": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone_hasParent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_withForking": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSetHost_update": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_numberArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_with_metadata_by_number": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigSet_update": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside/full_name_arg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringRemoveDuplicate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_already_forked": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_alreadyExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGet_not_found": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/clone_arguments": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_OPEN_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Draft_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result_in_total_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_powerShell": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/shorthand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_fork": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Open_PR_for_the_current_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_noResultsForBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/only_args": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_survey_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_Preview/Merged_PR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestConfigGetHost_unset": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/no_results": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/no_matches_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_blanks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/args_and_target": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRemoteURLFormatting_no_config": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_defaults_error_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Closed": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/no_args": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoView_nonmarkdown_readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_Preview/Open_issue_with_empty_body": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_web_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestCompletion_unsupported": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStateTitleWithColor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged_defaultBranch": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestPRCreate_survey_defaults_monocommit": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/multiple_results_after_filters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestParseExtraArgs/only_target": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrStateTitleWithColor/Format_CLOSED_state": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "Test_listHeader/one_result": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_showTheMostRecentPR": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_in_parent_survey_no": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoClone/SSH_URL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_web_notFound": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_cross_repo_same_branch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_currentBranch_Merged": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueList_nullAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestRepoFork_outside_survey_yes": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"passed_count": 198, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestPRView_Preview/Closed_PR", "TestPullRequest_ChecksStatus", "TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestRepoFork_in_parent_yes", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "TestExtractName/Incomplete_front-matter", "TestIssueStateTitleWithColor/Open_state", "TestCompletion_fish", "TestRepoClone/shorthand_with_directory", "TestReplaceExcessiveWhitespace", "TestConfigGet", "TestPRView_web_currentBranch", "Test_repoFromURL/unsupported_hostname", "Test_resolvedRemotes_triangularSetup", "TestRepoClone/clone_arguments_with_directory", "TestFind/Multiple_templates", "TestFind", "TestRepoFork_outside_survey_no", "TestIssueView_Preview/Closed_issue", "Test_determineTrackingBranch_noMatch", "TestPRStatus_reviewsAndChecks", "TestRepoClone", "TestChangelogURL", "TestPRView_web_numberArgWithHash", "TestCheckForUpdate", "Test_listHeader/one_result_after_filters", "TestPRCreate_survey_autofill", "TestPRView_web_branchWithOwnerArg", "Test_determineTrackingBranch_respectTrackingConfig", "TestGraphQL", "Test_RepoCreate", "TestPRStatus_blankSlate", "TestTruncate", "TestTruncate/Japanese", "TestCompletion_bash", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestRepoCreate_org", "TestPRCreate_survey_defaults_multicommit", "TestIssueView_web_numberArgWithHash", "Test_listHeader", "Test_printError/Cobra_flag_error", "TestPRView_Preview", "TestIssueView_web", "Test_determineTrackingBranch_empty", "TestCompletion_zsh", "TestPRCreate_defaults_error_interactive", "TestForOS", "TestIssueView_Preview/Open_issue_without_metadata", "Test_repoFromURL/filesystem_path", "TestIssueStateTitleWithColor/Closed_state", "TestRepoView_web_ownerRepo", "TestConfigSetHost", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRCheckout_urlArg_differentBase", "TestPRList_filteringClosed", "TestConfigGetHost", "TestIssueView_Preview/Open_issue_with_metadata", "TestPRCheckout_sameRepo", "TestRepoFork_outside/url_arg", "TestIssueList_disabledIssues", "TestPRCreate_alreadyExistsDifferentBase", "TestPRList_filteringAssigneeLabels", "TestExtractContents/Has_front-matter", "TestIssueList_withFlags", "TestRepoFork_reuseRemote", "TestRepoCreate_orgWithTeam", "TestPRView_Preview/Draft_PR_by_branch", "Test_Remotes_FindByName", "TestIssueView_Preview", "TestIssueView_disabledIssues", "TestRepoView_web_fullURL", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_listHeader/one_result_in_total", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestRepoView_web", "TestRemoteURLFormatting_ssh_config", "TestPRCreate_web", "Test_determineTrackingBranch_hasMatch", "TestPrStateTitleWithColor", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRView_Preview/Open_PR_without_metadata", "Test_listHeader/multiple_results", "TestRepoClone_hasParent", "Test_resolvedRemotes_forkLookup", "TestPRList_filtering", "TestPRView_web_urlArg", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "TestPRCreate_withForking", "TestConfigSetHost_update", "TestPRView_web_numberArg", "TestPRView_Preview/Open_PR_with_metadata_by_number", "TestConfigGet_default", "TestConfigSet_update", "TestRepoFork_outside/full_name_arg", "TestPRList_filteringRemoveDuplicate", "TestPRCheckout_differentRepo_existingBranch", "TestRepoFork_already_forked", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "Test_repoFromURL/github.com_URL", "TestIssueStatus_disabledIssues", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestPRView_Preview/Draft_PR", "TestTruncate/Korean_filled", "TestGraphQLError", "Test_listHeader/one_result_in_total_after_filters", "TestCompletion_powerShell", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestIssueView_web_urlArg", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestPRView_Preview/Open_PR_for_the_current_branch", "TestPRView_web_noResultsForBranch", "TestTruncate/Chinese_filled", "TestTruncate/Korean", "TestParseExtraArgs/only_args", "TestRepoFork_in_parent_survey_yes", "TestRepoView", "TestPRList", "TestPRView_Preview/Merged_PR", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_listHeader/no_matches_after_filters", "TestRepoView_blanks", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestParseExtraArgs/args_and_target", "TestPRCheckout_urlArg", "TestRemoteURLFormatting_no_config", "Test_translateRemotes", "TestPRCreate_defaults_error_web", "TestExtractName/Complete_front-matter", "TestPRStatus_currentBranch_Closed", "TestParseExtraArgs/no_args", "TestRepoView_nonmarkdown_readme", "TestIssueCreate_web", "TestIssueView_Preview/Open_issue_with_empty_body", "TestPRView_web_branchArg", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "TestIssueStateTitleWithColor", "TestPRCreate_survey_defaults_monocommit", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "Test_listHeader/multiple_results_after_filters", "TestIssueList", "TestParseExtraArgs/only_target", "TestPRCheckout_maintainerCanModify", "TestPrStateTitleWithColor/Format_CLOSED_state", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Japanese_filled", "Test_printError", "Test_listHeader/one_result", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestRepoFork_outside", "TestForOS/macOS", "TestRepoFork_in_parent", "TestForOS/Linux", "TestPRStatus_currentBranch_showTheMostRecentPR", "TestRepoFork_in_parent_survey_no", "TestRepoClone/SSH_URL", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_repoFromURL", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "Test_repoFromURL/www.github.com_URL", "TestPRStatus_fork", "TestTruncate/Chinese", "TestRepoFork_outside_survey_yes"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/internal/config"], "skipped_tests": []}
{"passed_count": 52, "failed_count": 3, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "Test_translateRemotes", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestFind/Template_in_docs", "TestCheckForUpdate/current_is_prerelease", "Test_repoFromURL/unsupported_hostname", "Test_resolvedRemotes_triangularSetup", "TestFind/Multiple_templates", "TestExtractContents", "TestFind", "Test_printError/generic_error", "TestFind/Template_in_.github_takes_precedence", "Test_repoFromURL/github.com_URL", "TestFind/Template_in_root", "TestCheckForUpdate", "TestExtractContents/Has_front-matter", "TestGraphQLError", "TestExtractContents/No_front-matter", "TestTruncate/Korean_filled", "TestCheckForUpdate/latest_is_older", "Test_Remotes_FindByName", "TestIssueList", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestGraphQL", "Test_RepoCreate", "TestTruncate", "TestCheckForUpdate/latest_is_current", "TestForOS/Windows", "TestTruncate/Japanese", "TestTruncate/Japanese_filled", "Test_printError", "TestFuzzyAgo", "TestTruncate/Chinese_filled", "Test_printError/unknown_Cobra_command_error", "TestTruncate/Korean", "TestExtractName/No_front-matter", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "Test_resolvedRemotes_forkLookup", "Test_printError/Cobra_flag_error", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "Test_repoFromURL/www.github.com_URL", "TestForOS", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Chinese", "Test_repoFromURL/filesystem_path", "TestExtractName/Complete_front-matter"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/command", "github.com/cli/cli/internal/config"], "skipped_tests": []}
{"passed_count": 201, "failed_count": 2, "skipped_count": 0, "passed_tests": ["TestPRView_Preview/Closed_PR", "TestPullRequest_ChecksStatus", "TestIssueCreate_webTitleBody", "TestPRCreate_defaults_error_autofill", "TestRepoFork_in_parent_yes", "TestConfigSet", "TestPrStateTitleWithColor/Format_MERGED_state", "TestExtractName/Incomplete_front-matter", "TestIssueStateTitleWithColor/Open_state", "TestCompletion_fish", "TestRepoClone/shorthand_with_directory", "TestReplaceExcessiveWhitespace", "TestConfigGet", "TestPRView_web_currentBranch", "Test_repoFromURL/unsupported_hostname", "Test_resolvedRemotes_triangularSetup", "TestRepoClone/clone_arguments_with_directory", "TestFind/Multiple_templates", "TestFind", "TestRepoFork_outside_survey_no", "TestIssueView_Preview/Closed_issue", "Test_determineTrackingBranch_noMatch", "TestPRStatus_reviewsAndChecks", "TestRepoClone", "TestChangelogURL", "TestPRView_web_numberArgWithHash", "TestCheckForUpdate", "Test_listHeader/one_result_after_filters", "TestPRCreate_survey_autofill", "TestPRView_web_branchWithOwnerArg", "Test_determineTrackingBranch_respectTrackingConfig", "TestGraphQL", "Test_RepoCreate", "TestPRStatus_blankSlate", "TestTruncate", "TestTruncate/Japanese", "TestCompletion_bash", "TestParseExtraArgs", "TestExtractName/No_front-matter", "TestRepoCreate_org", "TestPRCreate_survey_defaults_multicommit", "TestIssueView_web_numberArgWithHash", "Test_listHeader", "Test_printError/Cobra_flag_error", "TestPRView_Preview", "TestIssueView_web", "Test_determineTrackingBranch_empty", "TestCompletion_zsh", "TestPRCreate_defaults_error_interactive", "TestForOS", "TestIssueView_Preview/Open_issue_without_metadata", "Test_repoFromURL/filesystem_path", "TestIssueStateTitleWithColor/Closed_state", "TestRepoView_web_ownerRepo", "TestConfigSetHost", "TestPrStateTitleWithColor/Format_OPEN_state_for_Draft_PR", "TestRepoCreate", "TestRepoFork_outside_yes", "Test_ttyTablePrinter_truncate", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestPRView_Preview/Open_PR_with_metadata_by_branch", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRCheckout_urlArg_differentBase", "TestPRList_filteringClosed", "TestConfigGetHost", "TestIssueView_Preview/Open_issue_with_metadata", "TestPRCheckout_sameRepo", "TestRepoFork_outside/url_arg", "TestIssueList_disabledIssues", "TestPRCreate_alreadyExistsDifferentBase", "TestPRList_filteringAssigneeLabels", "TestExtractContents/Has_front-matter", "TestIssueList_withFlags", "TestRepoFork_reuseRemote", "TestRepoCreate_orgWithTeam", "TestPRView_Preview/Draft_PR_by_branch", "Test_Remotes_FindByName", "TestIssueView_Preview", "TestIssueView_disabledIssues", "TestRepoView_web_fullURL", "TestPRView_Preview/Open_PR_wth_empty_body_for_the_current_branch", "Test_listHeader/one_result_in_total", "TestRepoClone/HTTPS_URL", "TestCheckForUpdate/latest_is_current", "TestRepoView_web", "TestRemoteURLFormatting_ssh_config", "TestPRCreate_web", "Test_determineTrackingBranch_hasMatch", "TestPrStateTitleWithColor", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRView_Preview/Open_PR_without_metadata", "Test_listHeader/multiple_results", "TestRepoClone_hasParent", "Test_resolvedRemotes_forkLookup", "TestPRList_filtering", "TestPRView_web_urlArg", "Test_resolvedRemotes_clonedFork", "TestRESTGetDelete", "TestPRCreate_withForking", "TestConfigSetHost_update", "TestPRView_web_numberArg", "TestPRView_Preview/Open_PR_with_metadata_by_number", "TestConfigGet_default", "TestConfigSet_update", "TestRepoFork_outside/full_name_arg", "TestPRList_filteringRemoveDuplicate", "TestPRCheckout_differentRepo_existingBranch", "TestRepoFork_already_forked", "TestPRCreate_alreadyExists", "TestCheckForUpdate/current_is_prerelease", "TestConfigGet_not_found", "TestRepoClone/clone_arguments", "Test_repoFromURL/github.com_URL", "TestIssueStatus_disabledIssues", "TestPrStateTitleWithColor/Format_OPEN_state", "TestIssueCreate", "TestPRView_Preview/Draft_PR", "TestTruncate/Korean_filled", "TestGraphQLError", "TestPRStatus_currentBranch_Closed_defaultBranch", "Test_listHeader/one_result_in_total_after_filters", "TestCompletion_powerShell", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestIssueView_web_urlArg", "TestFuzzyAgo", "TestRepoClone/shorthand", "TestPRView_Preview/Open_PR_for_the_current_branch", "TestPRView_web_noResultsForBranch", "TestTruncate/Chinese_filled", "TestTruncate/Korean", "TestPRStatus_currentBranch_defaultBranch", "TestParseExtraArgs/only_args", "TestRepoFork_in_parent_survey_yes", "TestRepoView", "TestPRList", "TestPRView_Preview/Merged_PR", "TestConfigGetHost_unset", "Test_listHeader/no_results", "Test_listHeader/no_matches_after_filters", "TestRepoView_blanks", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestParseExtraArgs/args_and_target", "TestPRCheckout_urlArg", "TestRemoteURLFormatting_no_config", "Test_translateRemotes", "TestPRCreate_defaults_error_web", "TestExtractName/Complete_front-matter", "TestPRStatus_currentBranch_Closed", "TestParseExtraArgs/no_args", "TestRepoView_nonmarkdown_readme", "TestIssueCreate_web", "TestIssueView_Preview/Open_issue_with_empty_body", "TestPRView_web_branchArg", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "TestIssueStateTitleWithColor", "TestPRStatus_currentBranch_Merged_defaultBranch", "TestPRCreate_survey_defaults_monocommit", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "Test_listHeader/multiple_results_after_filters", "TestIssueList", "TestParseExtraArgs/only_target", "TestPRCheckout_maintainerCanModify", "TestPrStateTitleWithColor/Format_CLOSED_state", "TestCheckForUpdate/latest_is_newer", "TestTruncate/Japanese_filled", "Test_printError", "Test_listHeader/one_result", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestRepoFork_outside", "TestForOS/macOS", "TestRepoFork_in_parent", "TestForOS/Linux", "TestPRStatus_currentBranch_showTheMostRecentPR", "TestRepoFork_in_parent_survey_no", "TestRepoClone/SSH_URL", "TestIssueView_web_notFound", "TestPRCreate_cross_repo_same_branch", "Test_repoFromURL", "TestPRStatus_currentBranch_Merged", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "Test_repoFromURL/www.github.com_URL", "TestPRStatus_fork", "TestTruncate/Chinese", "TestRepoFork_outside_survey_yes"], "failed_tests": ["github.com/cli/cli/git", "github.com/cli/cli/internal/config"], "skipped_tests": []}