Fix: Nil pointer dereference while previewing PR and Issues with empty body
## Summary
closes #403

## Details
The commit added an empty body check for both issues and PR for preview.
The code ignores the body and the formatting around it if body is empty

#### PR output
```
> ./bin/gh pr view -p 2 -R arkentos/tableturner
This is a test PR with empty body
arkentos wants to merge 1 commit into master from README
View this pull request on GitHub: https://github.com/arkentos/tableturner/pull/2
```

#### Issue output
```
./bin/gh issue view -p 1 -R arkentos/tableturner
This is a test issue with empty body
opened by arkentos. 0 comments.
View this issue on GitHub: https://github.com/arkentos/tableturner/issues/1
```
### Describe the bug

PR and issues with an empty body are failing on preview. 

#### gh version
gh version 0.5.4 (2020-02-04)
https://github.com/cli/cli/releases/tag/v0.5.4

### Steps to reproduce the behavior
#### PR

```
1. Issue command
> gh pr view -p 2 -R arkentos/tableturner

2.  Output:

This is a test PR with empty body
arkentos wants to merge 1 commit into master from README

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x156c8ea]

goroutine 1 [running]:
github.com/vilmibm/go-termd.(*Compiler).visit(0xc000633a40, 0x0, 0x0, 0x203000)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:51 +0x3a
github.com/vilmibm/go-termd.(*Compiler).visit(0xc000633a40, 0xc00036a140, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:53 +0x305
github.com/vilmibm/go-termd.(*Compiler).Compile(0xc000633a40, 0x0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:46 +0xb2
github.com/cli/cli/utils.RenderMarkdown(0x0, 0x0, 0x0, 0x0)
	/home/runner/work/cli/cli/utils/utils.go:46 +0x3cd
github.com/cli/cli/command.printPrPreview(0x1845140, 0xc0000a4008, 0xc0004f41c0)
	/home/runner/work/cli/cli/command/pr.go:324 +0x32d
github.com/cli/cli/command.prView(0x1c9b140, 0xc000031f40, 0x1, 0x4, 0x0, 0x0)
	/home/runner/work/cli/cli/command/pr.go:306 +0x1d6
github.com/spf13/cobra.(*Command).execute(0x1c9b140, 0xc000031f00, 0x4, 0x4, 0x1c9b140, 0xc000031f00)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0x1c99840, 0x5, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
main.main()
	/home/runner/work/cli/cli/cmd/gh/main.go:33 +0xde
```

#### Issue

```
1. Issue command
> gh issue view -p 1 -R arkentos/tableturner

2.  Output:

This is a test issue with empty body
opened by arkentos. 0 comments.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x156c8ea]

goroutine 1 [running]:
github.com/vilmibm/go-termd.(*Compiler).visit(0xc0006dd998, 0x0, 0xa00000000, 0x2000)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:51 +0x3a
github.com/vilmibm/go-termd.(*Compiler).visit(0xc0006dd998, 0xc00038a000, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:53 +0x305
github.com/vilmibm/go-termd.(*Compiler).Compile(0xc0006dd998, 0x0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/vilmibm/go-termd@v0.0.4/termd.go:46 +0xb2
github.com/cli/cli/utils.RenderMarkdown(0x0, 0x0, 0x0, 0x0)
	/home/runner/work/cli/cli/utils/utils.go:46 +0x3cd
github.com/cli/cli/command.printIssuePreview(0x1845140, 0xc0000a8008, 0xc0005563c0)
	/home/runner/work/cli/cli/command/issue.go:258 +0x3a0
github.com/cli/cli/command.issueView(0x1c9a740, 0xc0004ad900, 0x1, 0x4, 0x0, 0x0)
	/home/runner/work/cli/cli/command/issue.go:235 +0x1cb
github.com/spf13/cobra.(*Command).execute(0x1c9a740, 0xc0004ad8c0, 0x4, 0x4, 0x1c9a740, 0xc0004ad8c0)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0x1c99840, 0x5, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
main.main()
	/home/runner/work/cli/cli/cmd/gh/main.go:33 +0xde
```


### Expected vs actual behavior

#### Expected behavior for PR
```
This is a test PR with empty body
arkentos wants to merge 1 commit into master from README
View this pull request on GitHub: https://github.com/arkentos/tableturner/pull/2
```

#### Expected behavior for Issue
```
This is a test issue with empty body
opened by arkentos. 0 comments.
View this issue on GitHub: https://github.com/arkentos/tableturner/issues/1
```

Actual behavior is the nil pointer dereference error

### Logs
Refer above for the output of PR and Issues

Nil pointer dereference while previewing PR and Issues with empty body
diff --git a/command/issue.go b/command/issue.go
index 4641d91c804..6caf81c1200 100644
--- a/command/issue.go
+++ b/command/issue.go
@@ -255,9 +255,11 @@ func printIssuePreview(out io.Writer, issue *api.Issue) {
 		utils.Pluralize(issue.Comments.TotalCount, "comment"),
 		coloredLabels,
 	)))
-	fmt.Fprintln(out)
-	fmt.Fprintln(out, utils.RenderMarkdown(issue.Body))
-	fmt.Fprintln(out)
+	if issue.Body != "" {
+		fmt.Fprintln(out)
+		fmt.Fprintln(out, utils.RenderMarkdown(issue.Body))
+		fmt.Fprintln(out)
+	}
 	fmt.Fprintf(out, utils.Gray("View this issue on GitHub: %s\n"), issue.URL)
 }
 
diff --git a/command/pr.go b/command/pr.go
index 039b8c37a98..d1cb7e5be0d 100644
--- a/command/pr.go
+++ b/command/pr.go
@@ -308,9 +308,11 @@ func printPrPreview(out io.Writer, pr *api.PullRequest) {
 		pr.BaseRefName,
 		pr.HeadRefName,
 	)))
-	fmt.Fprintln(out)
-	fmt.Fprintln(out, utils.RenderMarkdown(pr.Body))
-	fmt.Fprintln(out)
+	if pr.Body != "" {
+		fmt.Fprintln(out)
+		fmt.Fprintln(out, utils.RenderMarkdown(pr.Body))
+		fmt.Fprintln(out)
+	}
 	fmt.Fprintf(out, utils.Gray("View this pull request on GitHub: %s\n"), pr.URL)
 }
 

diff --git a/command/issue_test.go b/command/issue_test.go
index edce87fb680..c09de2c623f 100644
--- a/command/issue_test.go
+++ b/command/issue_test.go
@@ -288,6 +288,51 @@ func TestIssueView_preview(t *testing.T) {
 	}
 }
 
+func TestIssueView_previewWithEmptyBody(t *testing.T) {
+	initBlankContext("OWNER/REPO", "master")
+	http := initFakeHTTP()
+	http.StubRepoResponse("OWNER", "REPO")
+
+	http.StubResponse(200, bytes.NewBufferString(`
+		{ "data": { "repository": { "hasIssuesEnabled": true, "issue": {
+		"number": 123,
+		"body": "",
+		"title": "ix of coins",
+		"author": {
+			"login": "marseilles"
+		},
+		"labels": {
+			"nodes": [
+				{"name": "tarot"}
+			]
+		},
+		"comments": {
+		  "totalCount": 9
+		},
+		"url": "https://github.com/OWNER/REPO/issues/123"
+	} } } }
+	`))
+
+	output, err := RunCommand(issueViewCmd, "issue view -p 123")
+	if err != nil {
+		t.Errorf("error running command `issue view`: %v", err)
+	}
+
+	eq(t, output.Stderr(), "")
+
+	expectedLines := []*regexp.Regexp{
+		regexp.MustCompile(`ix of coins`),
+		regexp.MustCompile(`opened by marseilles. 9 comments. \(tarot\)`),
+		regexp.MustCompile(`View this issue on GitHub: https://github.com/OWNER/REPO/issues/123`),
+	}
+	for _, r := range expectedLines {
+		if !r.MatchString(output.String()) {
+			t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
+			return
+		}
+	}
+}
+
 func TestIssueView_notFound(t *testing.T) {
 	initBlankContext("OWNER/REPO", "master")
 	http := initFakeHTTP()
diff --git a/command/pr_test.go b/command/pr_test.go
index f0069371f57..d621d447b35 100644
--- a/command/pr_test.go
+++ b/command/pr_test.go
@@ -313,6 +313,40 @@ func TestPRView_previewCurrentBranch(t *testing.T) {
 	}
 }
 
+func TestPRView_previewCurrentBranchWithEmptyBody(t *testing.T) {
+	initBlankContext("OWNER/REPO", "blueberries")
+	http := initFakeHTTP()
+	http.StubRepoResponse("OWNER", "REPO")
+
+	jsonFile, _ := os.Open("../test/fixtures/prView_EmptyBody.json")
+	defer jsonFile.Close()
+	http.StubResponse(200, jsonFile)
+
+	restoreCmd := utils.SetPrepareCmd(func(cmd *exec.Cmd) utils.Runnable {
+		return &outputStub{}
+	})
+	defer restoreCmd()
+
+	output, err := RunCommand(prViewCmd, "pr view -p")
+	if err != nil {
+		t.Errorf("error running command `pr view`: %v", err)
+	}
+
+	eq(t, output.Stderr(), "")
+
+	expectedLines := []*regexp.Regexp{
+		regexp.MustCompile(`Blueberries are a good fruit`),
+		regexp.MustCompile(`nobody wants to merge 8 commits into master from blueberries`),
+		regexp.MustCompile(`View this pull request on GitHub: https://github.com/OWNER/REPO/pull/10`),
+	}
+	for _, r := range expectedLines {
+		if !r.MatchString(output.String()) {
+			t.Errorf("output did not match regexp /%s/\n> output\n%s\n", r, output)
+			return
+		}
+	}
+}
+
 func TestPRView_currentBranch(t *testing.T) {
 	initBlankContext("OWNER/REPO", "blueberries")
 	http := initFakeHTTP()
diff --git a/test/fixtures/prView_EmptyBody.json b/test/fixtures/prView_EmptyBody.json
new file mode 100644
index 00000000000..651f49ce095
--- /dev/null
+++ b/test/fixtures/prView_EmptyBody.json
@@ -0,0 +1,46 @@
+{
+  "data": {
+    "repository": {
+      "pullRequests": {
+        "nodes": [
+          {
+            "number": 12,
+            "title": "Blueberries are from a fork",
+            "body": "yeah",
+            "url": "https://github.com/OWNER/REPO/pull/12",
+            "headRefName": "blueberries",
+            "baseRefName": "master",
+            "headRepositoryOwner": {
+              "login": "hubot"
+            },
+            "commits": {
+              "totalCount": 12
+            },
+            "author": {
+              "login": "nobody"
+            },
+            "isCrossRepository": true
+          },
+          {
+            "number": 10,
+            "title": "Blueberries are a good fruit",
+            "body": "",
+            "url": "https://github.com/OWNER/REPO/pull/10",
+            "baseRefName": "master",
+            "headRefName": "blueberries",
+            "author": {
+              "login": "nobody"
+            },
+            "headRepositoryOwner": {
+              "login": "OWNER"
+            },
+            "commits": {
+              "totalCount": 8
+            },
+            "isCrossRepository": false
+          }
+        ]
+      }
+    }
+  }
+}

{"TestPRView_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_previewCurrentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_branchWithOwnerArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_previewWithEmptyBody": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "TestIssueView_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_previewCurrentBranchWithEmptyBody": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestPRView_preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_numberArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_noResultsForBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrCreateHelperProcess": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_notFound": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"TestExtractName/Incomplete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestPullRequest_ChecksStatus": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView_preview": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_fish": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_sshParse": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/current_is_prerelease": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind/Multiple_templates": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFind": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestGitStatusHelperProcess": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueView": {"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"}, "TestGraphQL": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS/Windows": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestFuzzyAgo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_bash": {"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"}, "TestCompletion_zsh": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestForOS": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractName/Complete_front-matter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_UncommittedChangeCount": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_printError/DNS_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus": {"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"}, "TestFind/Template_in_root": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCompletion_unsupported": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_disabledIssues": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_Translator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_withFlags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestExtractContents/Has_front-matter": {"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"}, "TestCheckForUpdate/latest_is_current": {"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_parseRemotes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueStatus_blankSlate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestIssueList_nullAssigneeLabels": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "TestCheckForUpdate/latest_is_newer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "Test_repoFromURL_invalid": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"TestIssueView_previewWithEmptyBody": {"run": "NONE", "test": "FAIL", "fix": "PASS"}}
{"TestPRView_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestReplaceExcessiveWhitespace": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_reviewsAndChecks": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestChangelogURL": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_previewCurrentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus_blankSlate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_branchWithOwnerArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_remoteExists": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_ReportsUncommittedChanges": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_urlArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_existingBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueCreate_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_sameRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssignee": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filteringAssigneeLabels": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo_currentBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_previewCurrentBranchWithEmptyBody": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "TestPRView_preview": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_maintainerCanModify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_disabledIssues": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_numberArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRView_noResultsForBranch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCreate_web": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRStatus": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPrCreateHelperProcess": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_branchArg": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRCheckout_differentRepo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestIssueView_notFound": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "TestPRList_filtering": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"passed_count": 87, "failed_count": 1, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestPRView_urlArg", "TestCompletion_fish", "TestPRView_branchArg", "TestReplaceExcessiveWhitespace", "TestFind/Multiple_templates", "TestFind", "TestPRStatus_reviewsAndChecks", "TestChangelogURL", "TestCheckForUpdate", "TestPRView_previewCurrentBranch", "TestGraphQL", "TestPRStatus_blankSlate", "TestPRView_branchWithOwnerArg", "TestCompletion_bash", "TestExtractName/No_front-matter", "Test_printError/Cobra_flag_error", "TestCompletion_zsh", "TestForOS", "Test_UncommittedChangeCount", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRCheckout_sameRepo", "TestIssueList_disabledIssues", "TestPRList_filteringAssigneeLabels", "TestPRView_currentBranch", "TestIssueList_withFlags", "TestExtractContents/Has_front-matter", "TestPRView_preview", "TestIssueView_disabledIssues", "TestCheckForUpdate/latest_is_current", "TestPRCreate_web", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRList_filtering", "Test_repoFromURL_invalid", "TestIssueView_preview", "TestPRCheckout_differentRepo_existingBranch", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestGitStatusHelperProcess", "TestIssueStatus_disabledIssues", "TestIssueCreate", "TestIssueView", "TestGraphQLError", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestFuzzyAgo", "TestPRList", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestExtractName/Complete_front-matter", "TestPRCheckout_urlArg", "TestIssueView_urlArg", "TestIssueCreate_web", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "Test_Translator", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestPRCheckout_maintainerCanModify", "TestPRView_numberArg", "TestPRView_noResultsForBranch", "Test_printError", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestPrCreateHelperProcess", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "Test_parseRemotes", "TestIssueView_notFound", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer"], "failed_tests": ["github.com/cli/cli/context"], "skipped_tests": []}
{"passed_count": 51, "failed_count": 3, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestIssueView_preview", "Test_UncommittedChangeCount", "TestCompletion_fish", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestFind/Multiple_templates", "TestExtractContents", "TestFind", "Test_printError/generic_error", "TestGitStatusHelperProcess", "TestFind/Template_in_.github_takes_precedence", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestIssueStatus_disabledIssues", "TestIssueList_disabledIssues", "TestCheckForUpdate", "TestIssueView", "Test_Translator", "TestExtractContents/Has_front-matter", "TestGraphQLError", "TestIssueList_withFlags", "TestExtractContents/No_front-matter", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestGraphQL", "TestCheckForUpdate/latest_is_current", "TestForOS/Windows", "Test_printError", "TestFuzzyAgo", "TestCompletion_bash", "Test_printError/unknown_Cobra_command_error", "TestExtractName/No_front-matter", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "Test_parseRemotes", "Test_printError/Cobra_flag_error", "TestIssueStatus_blankSlate", "TestCompletion_zsh", "TestIssueList_nullAssigneeLabels", "TestForOS", "TestCheckForUpdate/latest_is_newer", "Test_repoFromURL_invalid", "TestExtractName/Complete_front-matter"], "failed_tests": ["github.com/cli/cli/context", "TestIssueView_previewWithEmptyBody", "github.com/cli/cli/command"], "skipped_tests": []}
{"passed_count": 89, "failed_count": 1, "skipped_count": 0, "passed_tests": ["TestExtractName/Incomplete_front-matter", "TestPullRequest_ChecksStatus", "TestPRView_urlArg", "TestCompletion_fish", "TestPRView_branchArg", "TestReplaceExcessiveWhitespace", "TestFind/Multiple_templates", "TestFind", "TestPRStatus_reviewsAndChecks", "TestChangelogURL", "TestCheckForUpdate", "TestPRView_previewCurrentBranch", "TestGraphQL", "TestPRStatus_blankSlate", "TestPRView_branchWithOwnerArg", "TestCompletion_bash", "TestExtractName/No_front-matter", "Test_printError/Cobra_flag_error", "TestCompletion_zsh", "TestForOS", "TestIssueView_previewWithEmptyBody", "Test_UncommittedChangeCount", "Test_printError/DNS_error", "TestIssueStatus", "TestFind/Template_in_docs", "TestExtractContents", "TestFind/Template_in_.github_takes_precedence", "Test_printError/generic_error", "TestPRCheckout_sameRepo", "TestIssueList_disabledIssues", "TestPRList_filteringAssigneeLabels", "TestPRView_currentBranch", "TestIssueList_withFlags", "TestExtractContents/Has_front-matter", "TestPRView_previewCurrentBranchWithEmptyBody", "TestPRView_preview", "TestIssueView_disabledIssues", "TestCheckForUpdate/latest_is_current", "TestPRCreate_web", "TestPRCheckout_branchArg", "TestPRCheckout_differentRepo", "TestPRList_filtering", "Test_repoFromURL_invalid", "TestIssueView_preview", "TestPRCheckout_differentRepo_existingBranch", "Test_sshParse", "TestCheckForUpdate/current_is_prerelease", "TestGitStatusHelperProcess", "TestIssueStatus_disabledIssues", "TestIssueCreate", "TestIssueView", "TestGraphQLError", "TestFind/Empty_multiple_templates_directory", "TestExtractName", "TestForOS/Windows", "TestFuzzyAgo", "TestPRList", "TestPRCheckout_differentRepo_remoteExists", "TestPRCreate_ReportsUncommittedChanges", "TestExtractName/Complete_front-matter", "TestPRCheckout_urlArg", "TestIssueView_urlArg", "TestIssueCreate_web", "TestPRCheckout_existingBranch", "TestIssueCreate_disabledIssues", "TestFind/Template_in_root", "TestCompletion_unsupported", "TestPRCreate", "Test_Translator", "TestPRList_filteringAssignee", "TestExtractContents/No_front-matter", "TestPRCheckout_differentRepo_currentBranch", "TestCheckForUpdate/latest_is_older", "TestIssueList", "TestPRCheckout_maintainerCanModify", "TestPRView_numberArg", "TestPRView_noResultsForBranch", "Test_printError", "TestPRStatus", "Test_printError/unknown_Cobra_command_error", "TestPrCreateHelperProcess", "TestForOS/macOS", "TestForOS/Linux", "Test_repoFromURL", "Test_parseRemotes", "TestIssueView_notFound", "TestIssueStatus_blankSlate", "TestIssueList_nullAssigneeLabels", "TestCheckForUpdate/latest_is_newer"], "failed_tests": ["github.com/cli/cli/context"], "skipped_tests": []}