瀏覽代碼

go vet fix for TestfillLicense

This small fix renames `TestfillLicense` to `TestFillLicense`
as otherwise go vet reports:
```
$ go tool vet daemon/licensing_test.go
daemon/licensing_test.go:11: TestfillLicense has malformed name: first letter after 'Test' must not be lowercase
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang 6 年之前
父節點
當前提交
1082d1edf2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/licensing_test.go

+ 1 - 1
daemon/licensing_test.go

@@ -8,7 +8,7 @@ import (
 	"gotest.tools/assert"
 )
 
-func TestfillLicense(t *testing.T) {
+func TestFillLicense(t *testing.T) {
 	v := &types.Info{}
 	d := &Daemon{
 		root: "/var/lib/docker/",