From 4731a7d78a18031ee9607f90aa9c3a992e27a7ec Mon Sep 17 00:00:00 2001 From: Ramesh Padmanabhaiah <22363102+codeforester@users.noreply.github.com> Date: Wed, 2 Sep 2026 23:34:34 +0530 Subject: [PATCH] docs: correct profile checks example (#2064) --- docs/doctor-findings.md | 1 - tests/test_doctor_findings_docs.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/doctor-findings.md b/docs/doctor-findings.md index e66d4824..510a276a 100644 --- a/docs/doctor-findings.md +++ b/docs/doctor-findings.md @@ -72,7 +72,6 @@ Check commands that return an object include an aggregate `status` and a { "schema_version": 1, "status": "ok", - "profiles": [], "checks": [] } ``` diff --git a/tests/test_doctor_findings_docs.py b/tests/test_doctor_findings_docs.py index 4dec3fee..47d1e56e 100644 --- a/tests/test_doctor_findings_docs.py +++ b/tests/test_doctor_findings_docs.py @@ -15,12 +15,11 @@ def json_examples() -> list[dict]: return examples -def test_top_level_diagnostic_json_example_includes_profiles() -> None: +def test_top_level_diagnostic_json_example_omits_profiles_without_profile_option() -> None: example = json_examples()[0] assert example == { "schema_version": 1, "status": "ok", - "profiles": [], "checks": [], }