Add a new line to test a dynamic string of metadata
This commit is contained in:
parent
13864131c0
commit
5a17962188
1 changed files with 12 additions and 12 deletions
|
|
@ -299,7 +299,7 @@ func TestIssueView_Preview(t *testing.T) {
|
|||
expectedOutputs: []string{
|
||||
`ix of coins`,
|
||||
`Open • marseilles opened about 292 years ago • 9 comments`,
|
||||
`Participants: marseilles`,
|
||||
`Participants: marseilles\n`,
|
||||
`bold story`,
|
||||
`View this issue on GitHub: https://github.com/OWNER/REPO/issues/123`,
|
||||
},
|
||||
|
|
@ -311,11 +311,11 @@ func TestIssueView_Preview(t *testing.T) {
|
|||
expectedOutputs: []string{
|
||||
`ix of coins`,
|
||||
`Open • marseilles opened about 292 years ago • 9 comments`,
|
||||
`Assignees: marseilles, monaco`,
|
||||
`Labels: one, two, three`,
|
||||
`Projects: The GitHub CLI \(to do list\)`,
|
||||
`Milestone: uluru`,
|
||||
`Participants: marseilles, monaco, montpellier`,
|
||||
`Assignees: marseilles, monaco\n`,
|
||||
`Labels: one, two, three\n`,
|
||||
`Projects: The GitHub CLI \(to do list\)\n`,
|
||||
`Milestone: uluru\n`,
|
||||
`Participants: marseilles, monaco, montpellier\n`,
|
||||
`bold story`,
|
||||
`View this issue on GitHub: https://github.com/OWNER/REPO/issues/123`,
|
||||
},
|
||||
|
|
@ -326,12 +326,12 @@ func TestIssueView_Preview(t *testing.T) {
|
|||
fixture: "../test/fixtures/issueView_previewWithLotsOfMetadata.json",
|
||||
expectedOutputs: []string{
|
||||
`ix of coins`,
|
||||
`Open • marseilles opened about 292 years ago • 9 comments`,
|
||||
`Assignees: marseilles, monaco, montpellier, …`,
|
||||
`Labels: one, two, three, …`,
|
||||
`Projects: Project 1 \(column A\), Project 2 \(column B\), Project 3 \(column C\), …`,
|
||||
`Milestone: uluru`,
|
||||
`Participants: marseilles, monaco, montpellier, …`,
|
||||
`Open • marseilles opened about 292 years ago • 9 comments\n`,
|
||||
`Assignees: marseilles, monaco, montpellier, …\n`,
|
||||
`Labels: one, two, three, …\n`,
|
||||
`Projects: Project 1 \(column A\), Project 2 \(column B\), Project 3 \(column C\), …\n`,
|
||||
`Milestone: uluru\n`,
|
||||
`Participants: marseilles, monaco, montpellier, …\n`,
|
||||
`bold story`,
|
||||
`View this issue on GitHub: https://github.com/OWNER/REPO/issues/123`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue