diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-04-08 18:37:50 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-04-08 18:37:50 -0400 |
| commit | 1c18fc14bffe7ddc93a0585b4960c32b8b98eae4 (patch) | |
| tree | 879c1e24125b383f7dae28d3c805388705cc56d9 /test_zachwalk.py | |
| parent | f54a46abe735719e75ac3b97efc78a5d5509538d (diff) | |
| download | zachwalk-1c18fc14bffe7ddc93a0585b4960c32b8b98eae4.tar.gz | |
* fix parsing line lines with tabs
Diffstat (limited to 'test_zachwalk.py')
| -rwxr-xr-x | test_zachwalk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py index 0576ac5..454dc56 100755 --- a/test_zachwalk.py +++ b/test_zachwalk.py @@ -12,6 +12,9 @@ def main(): assert zachwalk.gnd(['=>2021-01-28.gmi 2021-01-28 - RE ew0k: Your Gemini Browser and Server are Probably Doing Certificates Wrong']) == parse('2021-01-28').date() assert zachwalk.gnd(['=> atom.xml Atom Feed']) == zachwalk.DEFAULT assert zachwalk.gnd(['=> geminitoepub.gmi 2021-02-27 Gemini to Epub']) == parse('2021-02-27').date() + assert zachwalk.gnd(['=> m5paper.gmi 2021-01-31 M5Paper']) == parse('2021-01-31').date() + + assert zachwalk.getdesc('=> m5paper.gmi 2021-01-31 M5Paper') == '2021-01-31 M5Paper' if __name__ == '__main__': main() |
