about summary refs log tree commit diff
path: root/test_zachwalk.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-04-26 15:26:53 -0400
committerZach DeCook <zachdecook@librem.one>2022-04-26 15:26:53 -0400
commit42a9c82d7a4f2548b61d286b152387333693ba12 (patch)
tree23d9613d200234cc245f6cf274f3c17c1ce37147 /test_zachwalk.py
parent17d4fa5740e8b005f4b90fe55ba4c4b24125c07a (diff)
downloadzachwalk-42a9c82d7a4f2548b61d286b152387333693ba12.tar.gz
date: Check all link lines
(rather than just the first one with a date)
Diffstat (limited to 'test_zachwalk.py')
-rwxr-xr-xtest_zachwalk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py
index 3860752..6a3b579 100755
--- a/test_zachwalk.py
+++ b/test_zachwalk.py
@@ -14,7 +14,7 @@ def main():
     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.gnd(['=> gemini://fossphones.com/03-29-22.gmi 2022-03-29 Linux Phone News - March 29, 2022']) == parse('2022-03-29').date()
-
+    assert zachwalk.gnd(['=> pizza.gmi 1999-01-01 yum', '=> crepes.gmi 2099-01-01 cool']) == parse('2099-01-01').date()
 
     assert zachwalk.getdesc('=> m5paper.gmi	2021-01-31 M5Paper') == '2021-01-31 M5Paper'