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

Method skipShortMode

tests/init_test.go:107–109  ·  view source on GitHub ↗

skipShortMode skips tests matching when the -short flag is used.

(pattern string)

Source from the content-addressed store, hash-verified

105
106// skipShortMode skips tests matching when the -short flag is used.
107func (tm *testMatcher) skipShortMode(pattern string) {
108 tm.skipshortpat = append(tm.skipshortpat, regexp.MustCompile(pattern))
109}
110
111// skipLoad skips JSON loading of tests matching the pattern.
112func (tm *testMatcher) skipLoad(pattern string) {

Callers 2

TestVMFunction · 0.80
TestStateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected