Update golang 1.11
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.10.2
|
- 1.11.2
|
||||||
before_install:
|
before_install:
|
||||||
- sudo pip install codecov
|
- sudo pip install codecov
|
||||||
install:
|
install:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
go-iap
|
go-iap
|
||||||
======
|
======
|
||||||
|
|
||||||

|

|
||||||
[](https://travis-ci.org/awa/go-iap)
|
[](https://travis-ci.org/awa/go-iap)
|
||||||
[](https://codecov.io/github/awa/go-iap?branch=master)
|
[](https://codecov.io/github/awa/go-iap?branch=master)
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ func TestNumericString_UnmarshalJSON(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "object case",
|
name: "object case",
|
||||||
in: []byte("{\"ID\":{\"Num\": 8080}}"),
|
in: []byte("{\"ID\":{\"Num\": 8080}}"),
|
||||||
err: errors.New("json: cannot unmarshal object into Go struct field foo.ID of type json.Number"),
|
err: errors.New("json: cannot unmarshal object into Go value of type json.Number"),
|
||||||
out: foo{},
|
out: foo{},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user