Permalink
Browse files

Fix lex_test.py and report the Python 2 version for spec tests.

  • Loading branch information...
Andy Chu
Andy Chu committed Oct 30, 2017
1 parent bcd18e4 commit ab88ce76c65a9204bb666369b7bbf8b53935c475
Showing with 2 additions and 3 deletions.
  1. +1 −2 osh/lex_test.py
  2. +1 −1 test/spec.sh
View
@@ -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)')
View
@@ -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

Please sign in to comment.