From 3380afe2420e024c0c68ac6ea45fe08cf5f06d9f Mon Sep 17 00:00:00 2001 From: Junpei Tsuji Date: Tue, 6 Nov 2018 17:21:59 +0900 Subject: [PATCH] Update golang 1.11 --- .travis.yml | 2 +- README.md | 2 +- appstore/model_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd14def..3350e94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.10.2 +- 1.11.2 before_install: - sudo pip install codecov install: diff --git a/README.md b/README.md index ebe8957..7b3787f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ go-iap ====== -![](https://img.shields.io/badge/golang-1.10-blue.svg?style=flat) +![](https://img.shields.io/badge/golang-1.11-blue.svg?style=flat) [![Build Status](https://travis-ci.org/awa/go-iap.svg?branch=master)](https://travis-ci.org/awa/go-iap) [![codecov.io](https://codecov.io/github/awa/go-iap/coverage.svg?branch=master)](https://codecov.io/github/awa/go-iap?branch=master) diff --git a/appstore/model_test.go b/appstore/model_test.go index 8b0fb5e..9dec6d2 100644 --- a/appstore/model_test.go +++ b/appstore/model_test.go @@ -33,7 +33,7 @@ func TestNumericString_UnmarshalJSON(t *testing.T) { { name: "object case", 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{}, }, }