From 956966e6587aa6b8dd3a375d35c3744291c38d60 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Fri, 11 Aug 2017 16:36:26 -0400 Subject: [PATCH] add missing validator package to glide.yaml --- common/http_test.go | 4 ++-- glide.lock | 16 ++++++++++++---- glide.yaml | 1 + 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/common/http_test.go b/common/http_test.go index b207684b8..73761fb1e 100644 --- a/common/http_test.go +++ b/common/http_test.go @@ -47,13 +47,13 @@ func TestWriteError(t *testing.T) { assert.Equal(t, w.Code, http.StatusBadRequest, "#%d: should get a 400", i) blob, err := ioutil.ReadAll(w.Body) if err != nil { - assert.Failf(t, "expecting a successful ioutil.ReadAll", "#%d", i) + assert.Fail(t, "expecting a successful ioutil.ReadAll", "#%d", i) continue } recv := new(common.ErrorResponse) if err := json.Unmarshal(blob, recv); err != nil { - assert.Failf(t, "expecting a successful json.Unmarshal", "#%d", i) + assert.Fail(t, "expecting a successful json.Unmarshal", "#%d", i) continue } diff --git a/glide.lock b/glide.lock index b30f538a3..b0b3ff3c7 100644 --- a/glide.lock +++ b/glide.lock @@ -1,5 +1,5 @@ -hash: 69359a39dbb6957c9f09167520317ad72d4bfa75f37a614b347e2510768c8a42 -updated: 2017-05-05T17:46:34.975369143Z +hash: 6efda1f3891a7211fc3dc1499c0079267868ced9739b781928af8e225420f867 +updated: 2017-08-11T20:28:34.550901198Z imports: - name: github.com/fsnotify/fsnotify version: 4da3e2cfbabc9f751898f250b49f2439785783a1 @@ -11,6 +11,12 @@ imports: - log/term - name: github.com/go-logfmt/logfmt version: 390ab7935ee28ec6b286364bba9b4dd6410cb3d5 +- name: github.com/go-playground/locales + version: 1e5f1161c6416a5ff48840eb8724a394e48cc534 + subpackages: + - currency +- name: github.com/go-playground/universal-translator + version: 71201497bace774495daed26a3874fd339e0b538 - name: github.com/go-stack/stack version: 7a2f19628aabfe68f0766b59e74d6315f8347d22 - name: github.com/golang/snappy @@ -97,11 +103,13 @@ imports: subpackages: - transform - unicode/norm +- name: gopkg.in/go-playground/validator.v9 + version: d529ee1b0f30352444f507cc6cdac96bfd12decc - name: gopkg.in/yaml.v2 version: cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b testImports: - name: github.com/davecgh/go-spew - version: 04cdfd42973bb9c8589fd6a731800cf222fde1a9 + version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9 subpackages: - spew - name: github.com/pmezard/go-difflib @@ -109,7 +117,7 @@ testImports: subpackages: - difflib - name: github.com/stretchr/testify - version: 4d4bfba8f1d1027c4fdbe371823030df51419987 + version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0 subpackages: - assert - require diff --git a/glide.yaml b/glide.yaml index d8bdd5872..22825a273 100644 --- a/glide.yaml +++ b/glide.yaml @@ -23,6 +23,7 @@ import: - package: golang.org/x/crypto subpackages: - ripemd160 +- package: gopkg.in/go-playground/validator.v9 testImport: - package: github.com/stretchr/testify version: ^1.1.4