diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-02-07 23:08:30 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-02-07 23:08:30 -0500 |
| commit | 6ae010283fa78e7b4be3e63cc0a27d6b3447bbad (patch) | |
| tree | 8b669695655d547d15b88c93144223980b3c7b4b /test_zachwalk.py | |
| parent | 2bf26df28f31e4279ee3339b12858f302f2c6aa5 (diff) | |
| download | zachwalk-6ae010283fa78e7b4be3e63cc0a27d6b3447bbad.tar.gz | |
parsing: help out by adding space before colon
Diffstat (limited to 'test_zachwalk.py')
| -rwxr-xr-x | test_zachwalk.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py index 1a551db..3cbf5b2 100755 --- a/test_zachwalk.py +++ b/test_zachwalk.py @@ -7,6 +7,7 @@ def main(): assert zachwalk.gnd([b'2021-01-31']) == zachwalk.DEFAULT assert zachwalk.gnd([b'=> path.gmi 2021-01-31 - my post']) == parse('2021-01-31').date() assert zachwalk.gnd([b'=> 2020/11/25/hello-gemini.gmi 2020-11-25 - Hello, Gemini!']) == parse('2020-11-25').date() + assert zachwalk.gnd([b'=> gemini://drewdevault.com/2020/09/21/Gemini-TOFU.gmi September 21, 2020: TOFU recommendations for Gemini']) == parse('2020-09-21').date() if __name__ == '__main__': main() |
