..MatchOption case '', result = 0 case 'pipefail', result = 4 case 'foo', result = 0 case 'pipefai', result = 0 case 'pipefail_', result = 0 case 'strict_errexit', result = 22 ... ---------------------------------------------------------------------- Ran 5 tests in 0.000s OK --- 299 expected, got 299 ['IsPlainWord', 'IsValidVarName', 'MatchBraceRangeToken', 'MatchEchoToken', 'MatchGlobToken', 'MatchHistoryToken', 'MatchOption', 'MatchOshToken', 'MatchPS1Token', 'ShouldHijack', '__doc__', '__file__', '__name__', '__package__'] (53, 4) TOK: 55 'end' TOK: 54 ' ' TOK: 55 'of' TOK: 54 ' ' TOK: 55 'line' TOK: 87 '\n' TOK: 50 '' TOK: 55 'end' TOK: 54 ' ' TOK: 55 'of' TOK: 54 ' ' TOK: 55 'file' TOK: 50 '' (55, 4)