From f3620f41032943a4ec0fa4821aa556007036eff4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 4 Jan 2023 12:01:58 +0000 Subject: [PATCH] Use a more appropriate reference --- tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests.py b/tests.py index a15bf87f2..2bacd9d6b 100644 --- a/tests.py +++ b/tests.py @@ -3624,12 +3624,12 @@ def _test_web_links(): assert expected_text in linked_text example_text = \ - 'This post has an arxiv link arXiv:2212.14672 some other text' + 'This post has an arxiv link arXiv:2203.15752 some other text' linked_text = add_web_links(example_text) expected_text = \ - 'arXiv:2212.14672' + ' target="_blank">arXiv:2203.15752' if expected_text not in linked_text: print(expected_text + '\n') print(linked_text)