test: go fmt

This commit is contained in:
Martin Holst Swende 2018-09-04 09:04:46 +02:00
parent 3eb55f5176
commit 81770ee6fb
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -125,6 +125,7 @@ func (tm *testMatcher) fails(pattern string, reason string) {
func (tm *testMatcher) whitelist(pattern string) { func (tm *testMatcher) whitelist(pattern string) {
tm.whitelistpat = regexp.MustCompile(pattern) tm.whitelistpat = regexp.MustCompile(pattern)
} }
// config defines chain config for tests matching the pattern. // config defines chain config for tests matching the pattern.
func (tm *testMatcher) config(pattern string, cfg params.ChainConfig) { func (tm *testMatcher) config(pattern string, cfg params.ChainConfig) {
tm.configpat = append(tm.configpat, testConfig{regexp.MustCompile(pattern), cfg}) tm.configpat = append(tm.configpat, testConfig{regexp.MustCompile(pattern), cfg})