From 54a105ead09c30a56c8caa6dde21828d50cc3e85 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 30 Sep 2018 18:16:05 +0300 Subject: new env values --- service/static/config_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'service/static/config_test.go') diff --git a/service/static/config_test.go b/service/static/config_test.go index d36726c2..e3fa8d16 100644 --- a/service/static/config_test.go +++ b/service/static/config_test.go @@ -36,8 +36,7 @@ func TestConfig_Forbids(t *testing.T) { } func TestConfig_Valid(t *testing.T) { - assert.NoError(t, (&Config{Enable: true, Dir: "./"}).Valid()) - assert.Error(t, (&Config{Enable: true, Dir: "./config.go"}).Valid()) - assert.NoError(t, (&Config{Dir: "./dir/"}).Valid()) - assert.Error(t, (&Config{Enable: true, Dir: "./dir/"}).Valid()) + assert.NoError(t, (&Config{Dir: "./"}).Valid()) + assert.Error(t, (&Config{Dir: "./config.go"}).Valid()) + assert.Error(t, (&Config{Dir: "./dir/"}).Valid()) } -- cgit v1.2.3