Skip to content

Commit

Permalink
Fix spec test failures introduced by recent commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Aug 8, 2017
1 parent 91bdb8a commit 772b19f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion osh/cmd_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion spec/loop.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 772b19f

Please sign in to comment.