diff options
author | Stephen Finucane <stephen@that.guru> | 2022-02-08 15:59:09 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2022-02-08 16:00:01 +0000 |
commit | 105c583f0605d336c9fc981e49e7a4ed4ef25f30 (patch) | |
tree | 43ff62bcd628c33470ee997a34f9a93a8a38ab84 /tests | |
parent | 73f980641c28660aaa2412fced5b747128e65931 (diff) | |
download | sphinx-git-105c583f0605d336c9fc981e49e7a4ed4ef25f30.tar.gz |
Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
This reverts commit e3ee8b378a37958f48d97d74a5c264f1f02e153e. This is a
breaking change that should not have been introduced in a minor release
(or arguably at all, given the impact).
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #10177
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_domain_std.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py index 00e7361a3..d001a939d 100644 --- a/tests/test_domain_std.py +++ b/tests/test_domain_std.py @@ -453,12 +453,3 @@ def test_labeled_rubric(app): domain = app.env.get_domain("std") assert 'label' in domain.labels assert domain.labels['label'] == ('index', 'label', 'blah blah blah') - - -def test_inline_target(app): - text = "blah _`inline target` blah\n" - restructuredtext.parse(app, text) - - domain = app.env.get_domain("std") - assert 'inline target' in domain.labels - assert domain.labels['inline target'] == ('index', 'inline-target', 'inline target') |