From 6d379cec4f4bdb8e814de63a937265cee0efedbd Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 19 Nov 2016 11:08:35 -0500 Subject: Adding gometalinter to CI checks Signed-off-by: Dave Henderson --- context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'context_test.go') diff --git a/context_test.go b/context_test.go index 4e339533..b4a60ff3 100644 --- a/context_test.go +++ b/context_test.go @@ -16,6 +16,6 @@ func TestEnvMapifiesEnvironment(t *testing.T) { func TestEnvGetsUpdatedEnvironment(t *testing.T) { c := &Context{} assert.Empty(t, c.Env()["FOO"]) - os.Setenv("FOO", "foo") + assert.NoError(t, os.Setenv("FOO", "foo")) assert.Equal(t, c.Env()["FOO"], "foo") } -- cgit v1.2.3