From 106ced625f2f8dc97965b6a8c8920e42d3fb544e Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Sun, 18 Sep 2022 12:50:32 +0200 Subject: [PATCH] Test redirect to absolute URL --- tests/test_plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 78ce5d0..6fee1c3 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -87,6 +87,7 @@ def actual_written_file(run_redirect_test): ("foo.md", "foo/README.md#hash", "foo/index.html#hash", "./#hash"), ("foo.md", "the/fake.md#hash", "fake/destination/index.html#hash", "../fake/destination/#hash"), ("foo.md", "100%.md", "100%25.html", "../100%25/"), + ("foo/fizz/old.md",) + ("https://example.org/old.md",) * 3, ]