diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2017-11-06 14:30:49 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-07 09:51:29 +0900 |
commit | 8f0c42dbfff06f11ef65c14ee23ece050aa38460 (patch) | |
tree | 21382f61845a1f77e9494953af51f8bba3130198 /config/util_test.go | |
parent | 5f9347d0d82a8cf8f32259e2459d370c14d85fc5 (diff) |
*: Fix problems pointed by 'go vet'
In the near feature (likely in Go1.10),
'go test' will never work if 'go vet' fails.
(See: https://github.com/golang/go/issues/18084)
This commit is for dealing with such a situation
(and also for improving the quality of our code).
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'config/util_test.go')
-rw-r--r-- | config/util_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/util_test.go b/config/util_test.go index c29ea70f..872fac67 100644 --- a/config/util_test.go +++ b/config/util_test.go @@ -20,7 +20,7 @@ import ( "testing" ) -func TestdetectConfigFileType(t *testing.T) { +func TestDetectConfigFileType(t *testing.T) { assert := assert.New(t) assert.Equal("toml", detectConfigFileType("bgpd.conf", "toml")) |