diff --git a/tests/test_domain_c.py b/tests/test_domain_c.py index 9b417b965..28e74e7bf 100644 --- a/tests/test_domain_c.py +++ b/tests/test_domain_c.py @@ -422,7 +422,7 @@ def test_nested_name(): check('function', 'void f(.A.B a)', {1: "f"}) -def test_union_definitions(): +def test_struct_definitions(): check('struct', '{key}A', {1: 'A'}) diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 3f8d523ae..ff2a015ee 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -1000,7 +1000,7 @@ def test_build_domain_cpp_warn_template_param_qualified_name(app, status, warnin @pytest.mark.sphinx(testroot='domain-cpp', confoverrides={'nitpicky': True}) -def test_build_domain_cpp_backslash_ok(app, status, warning): +def test_build_domain_cpp_backslash_ok_true(app, status, warning): app.builder.build_all() ws = filter_warnings(warning, "backslash") assert len(ws) == 0 @@ -1015,7 +1015,7 @@ def test_build_domain_cpp_semicolon(app, status, warning): @pytest.mark.sphinx(testroot='domain-cpp', confoverrides={'nitpicky': True, 'strip_signature_backslash': True}) -def test_build_domain_cpp_backslash_ok(app, status, warning): +def test_build_domain_cpp_backslash_ok_false(app, status, warning): app.builder.build_all() ws = filter_warnings(warning, "backslash") assert len(ws) == 1