Jelajahi Sumber

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 tahun lalu
induk
melakukan
1082d1edf2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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/",