Skip to content

Commit 6db2a9c

Browse files
author
Douglas Wallin
committed
test: normalize issue raw assertions across line endings
1 parent 6449561 commit 6db2a9c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkg/jira/issue_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,11 @@ func TestGetIssueRaw(t *testing.T) {
384384
return
385385
}
386386

387-
assert.Equal(t, c.wantOut, out)
387+
assert.Equal(
388+
t,
389+
strings.ReplaceAll(c.wantOut, "\r\n", "\n"),
390+
strings.ReplaceAll(out, "\r\n", "\n"),
391+
)
388392
})
389393
}
390394
}

0 commit comments

Comments
 (0)