mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
Update init_test.go
This commit is contained in:
parent
9a8e14e77e
commit
3e6cb10805
1 changed files with 0 additions and 10 deletions
|
|
@ -119,16 +119,6 @@ func (tm *testMatcher) skipLoad(pattern string) {
|
|||
tm.skiploadpat = append(tm.skiploadpat, regexp.MustCompile(pattern))
|
||||
}
|
||||
|
||||
// fails adds an expected failure for tests matching the pattern.
|
||||
//
|
||||
//nolint:unused
|
||||
func (tm *testMatcher) fails(pattern string, reason string) {
|
||||
if reason == "" {
|
||||
panic("empty fail reason")
|
||||
}
|
||||
tm.failpat = append(tm.failpat, testFailure{regexp.MustCompile(pattern), reason})
|
||||
}
|
||||
|
||||
func (tm *testMatcher) runonly(pattern string) {
|
||||
tm.runonlylistpat = regexp.MustCompile(pattern)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue