aboutsummaryrefslogtreecommitdiff
path: root/src/image
diff options
context:
space:
mode:
authorLeigh McCulloch <leighmcc@gmail.com>2017-11-03 05:48:43 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2017-11-04 04:13:41 +0000
commit8db19a496640db4c7c318007c82eaa5d65c85b93 (patch)
treeddae5894fcfb0ca011825da4a7076869110a0b23 /src/image
parent0ee4527ac7a4472c51c13948a3ac3e0c51a51838 (diff)
downloadgo-8db19a496640db4c7c318007c82eaa5d65c85b93.tar.gz
go-8db19a496640db4c7c318007c82eaa5d65c85b93.zip
all: change github.com issue links to golang.org
The go repository contains a mix of github.com/golang/go/issues/xxxxx and golang.org/issues/xxxxx URLs for references to issues in the issue tracker. We should use one for consistency, and golang.org is preferred in case the project moves the issue tracker in the future. This reasoning is taken from a comment Sam Whited left on a CL I recently opened: https://go-review.googlesource.com/c/go/+/73890. In that CL I referenced an issue using its github.com URL, because other tests in the file I was changing contained references to issues using their github.com URL. Sam Whited left a comment on the CL stating I should change it to the golang.org URL. If new code is intended to reference issues via golang.org and not github.com, existing code should be updated so that precedence exists for contributors who are looking at the existing code as a guide for the code they should write. Change-Id: I3b9053fe38a1c56fc101a8b7fd7b8f310ba29724 Reviewed-on: https://go-review.googlesource.com/75673 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/png/reader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/png/reader_test.go b/src/image/png/reader_test.go
index eb792ea806..66bcfcb437 100644
--- a/src/image/png/reader_test.go
+++ b/src/image/png/reader_test.go
@@ -589,7 +589,7 @@ func TestUnknownChunkLengthUnderflow(t *testing.T) {
}
func TestGray8Transparent(t *testing.T) {
- // These bytes come from https://github.com/golang/go/issues/19553
+ // These bytes come from https://golang.org/issues/19553
m, err := Decode(bytes.NewReader([]byte{
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x0b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x85, 0x2c, 0x88,
@@ -650,7 +650,7 @@ func TestGray8Transparent(t *testing.T) {
}
func TestDimensionOverflow(t *testing.T) {
- // These bytes come from https://github.com/golang/go/issues/22304
+ // These bytes come from https://golang.org/issues/22304
//
// It encodes a 2147483646 × 2147483646 (i.e. 0x7ffffffe × 0x7ffffffe)
// NRGBA image. The (width × height) per se doesn't overflow an int64, but