MCPcopy Create free account
hub / github.com/CPChain/chain / skipLoad

Method skipLoad

tests/init_test.go:112–114  ·  view source on GitHub ↗

skipLoad skips JSON loading of tests matching the pattern.

(pattern string)

Source from the content-addressed store, hash-verified

110
111// skipLoad skips JSON loading of tests matching the pattern.
112func (tm *testMatcher) skipLoad(pattern string) {
113 tm.skiploadpat = append(tm.skiploadpat, regexp.MustCompile(pattern))
114}
115
116// fails adds an expected failure for tests matching the pattern.
117func (tm *testMatcher) fails(pattern string, reason string) {

Callers 3

TestVMFunction · 0.80
TestBlockchainFunction · 0.80
TestStateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected