Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
newsch committed Feb 20, 2023
1 parent 5f7d4d2 commit 67f2750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion focstest.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def infer_url(filepath: PathLike) -> Optional[Url]:
Returns: None if the filename could not be parsed
>>> infer_url('foo/bar/homework1.ml') == urlparse('https://rpucella.net/courses/focs-sp22/homeworks/1/index.html')
>>> infer_url('foo/bar/homework1.ml') == urlparse('https://rpucella.net/courses/focs-sp23/homeworks/1/index.html')
True
>>> infer_url('foo/bar.ml') is None
True
Expand Down

0 comments on commit 67f2750

Please sign in to comment.