From cdf4d92cec4ddffffffb5fc09a236a468561f680 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Tue, 10 Nov 2026 10:32:12 +0900 Subject: [PATCH] docs: the Neovim command of the test insights is `:Mcpp test.insights` Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- .agents/docs/2026-11-10-tests-from-mcpp.md | 4 ++-- mide-plugins/nvim/lua/mcpp/tests.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.agents/docs/2026-11-10-tests-from-mcpp.md b/.agents/docs/2026-11-10-tests-from-mcpp.md index f4eaadc..9d08133 100644 --- a/.agents/docs/2026-11-10-tests-from-mcpp.md +++ b/.agents/docs/2026-11-10-tests-from-mcpp.md @@ -151,7 +151,7 @@ insights are empty and say so. - A failure's `expected` and `actual` appear as two lines under it, and in its quickfix text. - A case's line carries its sign (✓, ✗) and, as virtual text, its duration and its metrics against their bounds. -- `:Mcpp testInsights` opens the insights as text in a floating window. A metric's trend is drawn with +- `:Mcpp test.insights` opens the insights as text in a floating window. A metric's trend is drawn with block characters (▁▂▃▅▇), and the schedule as bars. ## Performance @@ -178,6 +178,6 @@ insights are empty and say so. directory's `.mock-mcpp-tests` selects them, as `.mock-mcpp-features` selects the features. - VS Code: the tree of a directory program; part results attributed to it; the diff message; the decorations' text. -- Neovim: the smoke test covers live results, the virtual text and `:Mcpp testInsights`. +- Neovim: the smoke test covers live results, the virtual text and `:Mcpp test.insights`. - CLion: the comparison failure and the nested suites, in the plugin's unit tests. - The insights page is rendered by a Chromium test, as the graph page is. diff --git a/mide-plugins/nvim/lua/mcpp/tests.lua b/mide-plugins/nvim/lua/mcpp/tests.lua index d899745..d2df27c 100644 --- a/mide-plugins/nvim/lua/mcpp/tests.lua +++ b/mide-plugins/nvim/lua/mcpp/tests.lua @@ -323,7 +323,7 @@ function M.said_of(root, test, case) return said[(root or '') .. '\0' .. test .. '\0' .. case] end --- ── the insights as text (`:Mcpp testInsights`) ────────────────────────────────────────────── +-- ── the insights as text (`:Mcpp test.insights`) ────────────────────────────────────────────── local BLOCKS = { '▁', '▂', '▃', '▄', '▅', '▆', '▇', '█' }