Permalink
Browse files

Update comments in sh_spec.py to match the new spec test format (#157)

  • Loading branch information...
granttrec authored and andychu committed Jul 4, 2018
1 parent 6740baa commit 6eb73bd0cf1764a78477221fade83e2ca95c78a8
Showing with 7 additions and 7 deletions.
  1. +7 −7 test/sh_spec.py
View
@@ -37,7 +37,7 @@
Example test case:
### hello and fail
#### hello and fail
echo hello
echo world
exit 1
@@ -75,8 +75,8 @@ def log(msg, *args):
# EXAMPLES:
# stdout: foo
# stdout-json: ""
## stdout: foo
## stdout-json: ""
#
# In other words, it could be (name, value) or (qualifier, name, value)
@@ -167,13 +167,13 @@ def peek(self):
#
# -- Code is either literal lines, or a commented out code: value.
# code = (? line of code ?)*
# | '# code:' VALUE
# | '## code:' VALUE
#
# -- Description, then key-value pairs surrounding code.
# test_case = '###' DESC
# ( '#' KEY ':' VALUE )*
# test_case = '####' DESC
# ( '##' KEY ':' VALUE )*
# code
# ( '#' KEY ':' VALUE )*
# ( '##' KEY ':' VALUE )*
#
# -- Should be a blank line after each test case. Leading comments and code
# -- are OK.

0 comments on commit 6eb73bd

Please sign in to comment.