From 41ba1f9f6a11c009ba24980c2360b66e60cf1736 Mon Sep 17 00:00:00 2001 From: qeesung <1245712564@qq.com> Date: Mon, 22 Oct 2018 23:45:43 +0800 Subject: [PATCH] Add testify package for testing --- Gopkg.lock | 25 +++++++++++++++++++++++++ Gopkg.toml | 4 ++++ 2 files changed, 29 insertions(+) diff --git a/Gopkg.lock b/Gopkg.lock index 0f22448..e5f4a65 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -9,6 +9,14 @@ pruneopts = "UT" revision = "cc83f3b3ce5911279513a46d6d3316d67bedaa54" +[[projects]] + digest = "1:ffe9824d294da03b391f44e1ae8281281b4afc1bdaa9588c9097785e3af10cec" + name = "github.com/davecgh/go-spew" + packages = ["spew"] + pruneopts = "UT" + revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73" + version = "v1.1.1" + [[projects]] digest = "1:0981502f9816113c9c8c4ac301583841855c8cf4da8c72f696b3ebedf6d0e4e5" name = "github.com/mattn/go-isatty" @@ -25,6 +33,22 @@ pruneopts = "UT" revision = "83c6a9932646f83e3267f353373d47347b6036b2" +[[projects]] + digest = "1:0028cb19b2e4c3112225cd871870f2d9cf49b9b4276531f03438a88e94be86fe" + name = "github.com/pmezard/go-difflib" + packages = ["difflib"] + pruneopts = "UT" + revision = "792786c7400a136282c1664665ae0a8db921c6c2" + version = "v1.0.0" + +[[projects]] + digest = "1:18752d0b95816a1b777505a97f71c7467a8445b8ffb55631a7bf779f6ba4fa83" + name = "github.com/stretchr/testify" + packages = ["assert"] + pruneopts = "UT" + revision = "f35b8ab0b5a2cef36673838d662e249dd9c94686" + version = "v1.2.2" + [[projects]] digest = "1:9b4fd49bb5908e00ecb36f3199008562d5c9fa7b3ddee554465f4d8bfde52d4c" name = "github.com/wayneashleyberry/terminal-dimensions" @@ -48,6 +72,7 @@ "github.com/aybabtme/rgbterm", "github.com/mattn/go-isatty", "github.com/nfnt/resize", + "github.com/stretchr/testify/assert", "github.com/wayneashleyberry/terminal-dimensions", ] solver-name = "gps-cdcl" diff --git a/Gopkg.toml b/Gopkg.toml index d04d9d5..f39e325 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -44,3 +44,7 @@ [[constraint]] branch = "master" name = "github.com/aybabtme/rgbterm" + +[[constraint]] + name = "github.com/stretchr/testify" + version = "1.2.2" -- 2.45.2