aboutsummaryrefslogtreecommitdiffstats
path: root/856df0ec5823ae12682fe4c4bcd4c15a062be1dc
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-11-12 22:38:08 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-11-12 22:38:08 +0300
commit767dc7f6954a66e187e5eefc36c21868048e04fc (patch)
tree9503eb25a62725962a241f55ced56c43d40abe4c /856df0ec5823ae12682fe4c4bcd4c15a062be1dc
parentc11899c33dbd1dbf0865c9d99ccea95d9922df0b (diff)
downloadtg2md-767dc7f6954a66e187e5eefc36c21868048e04fc.tar.gz
tg2md-767dc7f6954a66e187e5eefc36c21868048e04fc.zip
add tests
i've found some issues with formatted text, this could be seen in output (which is not included now). there are some complications with parsing newline characters, but i'll fix it later. also script is now usable like command-line application. you can specify the directory in which source files are located. to make some tests you need to run $ python parse.py tests this will create directory tests/formatted_posts, where markdown posts will be populated. if directory is not specified, it assumes that script is in the source folder. if needed json file could not be found, it exits with code 1.
Diffstat (limited to '856df0ec5823ae12682fe4c4bcd4c15a062be1dc')
0 files changed, 0 insertions, 0 deletions