Permalink
Browse files
Fix lex_test.py and report the Python 2 version for spec tests.
- Loading branch information...
Showing
with
2 additions
and
3 deletions.
-
+1
−2
osh/lex_test.py
-
+1
−1
test/spec.sh
|
|
@@ -107,8 +107,7 @@ def testExtGlob(self): |
|
|
|
|
|
lexer = _InitLexer('$')
|
|
|
t = lexer.Read(LexMode.EXTGLOB)
|
|
|
self.assertTokensEqual(ast.token(Id.Lit_Chars, '$'), t)
|
|
|
|
|
|
self.assertTokensEqual(ast.token(Id.Lit_Other, '$'), t)
|
|
|
|
|
|
def testBashRegexState(self):
|
|
|
lexer = _InitLexer('(foo|bar)')
|
|
|
|
|
|
@@ -90,7 +90,7 @@ version-text() { |
|
|
echo "oil version: $hash on branch $branch"
|
|
|
echo
|
|
|
|
|
|
python3 --version 2>&1
|
|
|
python --version 2>&1
|
|
|
echo
|
|
|
|
|
|
$BASH --version | head -n 1
|
|
|
|
0 comments on commit
ab88ce7