mirror of
https://github.com/alvierahman90/otfmacros.git
synced 2024-12-15 12:01:59 +00:00
update pymacro tests
This commit is contained in:
parent
46dafcd59b
commit
51109be19b
@ -11,6 +11,8 @@ def get_args():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-m", "--macros", default=["macros"], action="append",
|
||||
help="Extra files where macros are stored")
|
||||
parser.add_argument("-q", "--quiet", default=False, action="store_true",
|
||||
help="Don't output to stdout")
|
||||
parser.add_argument("input", help="The file to be processed")
|
||||
parser.add_argument("output", help="The location of the output")
|
||||
return parser.parse_args()
|
||||
|
@ -14,7 +14,7 @@ optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-m MACROS, --macros MACROS
|
||||
Extra files where macros are stored
|
||||
-s, --silent Do not print processed file
|
||||
-q, --quiet Do not print processed file
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#/usr/bin/env sh
|
||||
./pymacro -s tests/test_input tests/test_actual_output
|
||||
./pymacro -q tests/test_input tests/test_actual_output
|
||||
git diff tests/test_actual_output tests/test_expected_output
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user