about summary refs log tree commit diff
path: root/test_zachwalk.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-02-07 22:57:16 -0500
committerZach DeCook <zachdecook@librem.one>2021-02-07 22:57:16 -0500
commit2bf26df28f31e4279ee3339b12858f302f2c6aa5 (patch)
tree812da9f807d80614a4fda7d00c320bd67e881ce3 /test_zachwalk.py
parent5a0ebe1c44afdd4782d33ba075b22c4ebb0281e2 (diff)
downloadzachwalk-2bf26df28f31e4279ee3339b12858f302f2c6aa5.tar.gz
date parsing: only attempt to check link description
Diffstat (limited to 'test_zachwalk.py')
-rwxr-xr-xtest_zachwalk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_zachwalk.py b/test_zachwalk.py
index 952ad65..1a551db 100755
--- a/test_zachwalk.py
+++ b/test_zachwalk.py
@@ -6,6 +6,7 @@ def main():
     assert zachwalk.gnd([b'']) == zachwalk.DEFAULT
     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()
 
 if __name__ == '__main__':
     main()