Skip to content

Commit

Permalink
Add another test for path joining to ""
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Jun 9, 2024
1 parent 73e658a commit b553c6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,9 @@ def test_div_with_dots():
pytest.param(
"/path/", ("to",), "http://example.com/path/to", id="path-with-slash"
),
pytest.param(
"/path", ("",), "http://example.com/path/", id="path-add-trailing-slash"
),
pytest.param(
"/path?a=1#frag",
("to",),
Expand Down

0 comments on commit b553c6f

Please sign in to comment.