Skip to content

Commit

Permalink
test(cff): update doctest to include scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Jan 31, 2024
1 parent 2ee8edf commit 4f40840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimie/parsers/cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_cff_doi(data: bytes) -> Optional[str]:
Examples
--------
>>> get_cff_doi(bytes("doi: 10.5281/zenodo.1234", encoding="utf8"))
'10.5281/zenodo.1234'
'https://10.5281/zenodo.1234'
>>> get_cff_doi(bytes("abc: def", encoding="utf8"))
"""
Expand Down

0 comments on commit 4f40840

Please sign in to comment.