Permalink
Browse files

Fix spec test failures introduced by recent commits.

  • Loading branch information...
Andy Chu
Andy Chu committed Aug 8, 2017
1 parent 91bdb8a commit 772b19fff75da0c7b55cb991cc2a0f1c4179d67f
Showing with 2 additions and 2 deletions.
  1. +1 −1 osh/cmd_parse.py
  2. +1 −1 spec/loop.test.sh
View
@@ -636,7 +636,7 @@ def ParseSimpleCommand(self):
if prefix_bindings: # FOO=bar local spam=eggs not allowed
# Use the location of the first value. TODO: Use the whole word before
# splitting.
_, v0, _ = prefix_bindings[0]
_, _, v0, _ = prefix_bindings[0]
self.AddErrorContext(
'Invalid prefix bindings in control flow: %s', prefix_bindings,
word=v0)
View
@@ -110,7 +110,7 @@ echo $i
### while in pipe with subshell
i=0
find . -maxdepth 1 -name INSTALL -o -name LICENSE | ( while read path; do
find . -maxdepth 1 -name INSTALL.txt -o -name LICENSE.txt | ( while read path; do
i=$((i+1))
#echo $i
done

0 comments on commit 772b19f

Please sign in to comment.