diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2016-11-19 11:08:35 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2016-11-19 14:18:17 -0500 |
| commit | 6d379cec4f4bdb8e814de63a937265cee0efedbd (patch) | |
| tree | 8b468f5994ae8198790bf71415e518d5a60ac75e /context_test.go | |
| parent | c1606668990ebdcc4d8e97b58289a3242c74c3ea (diff) | |
Adding gometalinter to CI checks
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'context_test.go')
| -rw-r--r-- | context_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") } |
