summaryrefslogtreecommitdiff
path: root/libgo/go/encoding/json/number_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/encoding/json/number_test.go')
-rw-r--r--libgo/go/encoding/json/number_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/encoding/json/number_test.go b/libgo/go/encoding/json/number_test.go
index 4b869996388..cc6701814fb 100644
--- a/libgo/go/encoding/json/number_test.go
+++ b/libgo/go/encoding/json/number_test.go
@@ -10,7 +10,7 @@ import (
)
func TestNumberIsValid(t *testing.T) {
- // From: http://stackoverflow.com/a/13340826
+ // From: https://stackoverflow.com/a/13340826
var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
validTests := []string{