Skip to content

Commit

Permalink
fix margin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pahaz committed Aug 26, 2016
1 parent 643cef1 commit ba3bbdf
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions test_margin.bashtest
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,17 @@ Another example!

The best test is:

$ python ./bashtest.py --help
usage: bashtest.py [-h] [--exitcode] [-v] [-q] [--debug] [--version]
file [file ...]
$ echo -e "\n\n\n\n1\n\n2\n\n\n3"

BashTest is a UNIX command-line tool for running text-based bash tests.

positional arguments:
file Input file

optional arguments:
-h, --help show this help message and exit
--exitcode Print exitcode after command end of output
-v, --verbose Verbose output mode
-q, --quiet Silent output mode
--debug Print the debug information
--version Print the version string

$ python ./bashtest.py --help
usage: bashtest.py [-h] [--exitcode] [-v] [-q] [--debug] [--version]
file [file ...]
1

BashTest is a UNIX command-line tool for running text-based bash tests.
2

positional arguments:
file Input file

optional arguments:
-h, --help show this help message and exit
--exitcode Print exitcode after command end of output
-v, --verbose Verbose output mode
-q, --quiet Silent output mode
--debug Print the debug information
--version Print the version string
3


eof!

0 comments on commit ba3bbdf

Please sign in to comment.