Style fixes as suggested by tools.

This commit is contained in:
Andrey Smirnov
2014-07-10 21:34:52 +04:00
parent 7e5b2ae8f5
commit e745747370
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -18,8 +18,7 @@ func (c *containsChecker) Check(params []interface{}, names []string) (result bo
ok bool
)
pkgMap := make (map[*Package]bool)
pkgMap := make(map[*Package]bool)
pkgSlice1, ok = params[0].([]*Package)
if !ok {
@@ -42,7 +41,7 @@ func (c *containsChecker) Check(params []interface{}, names []string) (result bo
return true, ""
}
var Contains Checker = &containsChecker{&CheckerInfo{Name: "Contains", Params: []string{"Container", "Expected to contain"}}}
var Contains = &containsChecker{&CheckerInfo{Name: "Contains", Params: []string{"Container", "Expected to contain"}}}
type PackageListSuite struct {
// Simple list with "real" packages from stanzas