skipShortMode skips tests matching when the -short flag is used.
(pattern string)
| 105 | |
| 106 | // skipShortMode skips tests matching when the -short flag is used. |
| 107 | func (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. |
| 112 | func (tm *testMatcher) skipLoad(pattern string) { |