fix: arxiv year

This commit is contained in:
2026-04-17 17:03:59 -04:00
parent 432010f431
commit 174801242d
4 changed files with 158 additions and 8 deletions
+2 -1
View File
@@ -72,10 +72,11 @@ class TestPaperStorageManager:
"arxiv-2212_06340", SourceType.ARXIV
)
# Should extract year 2022 from 2212.06340 (22 -> 2022)
expected = (
storage_manager.library_paths.papers_dir
/ "arxiv"
/ "2212"
/ "2022"
/ "arxiv-2212_06340"
)
assert paper_dir == expected