Rename phase-numbered tests and drop SPEC pointer from stub messages
CI / cargo fmt --check (push) Successful in 38s
CI / cargo clippy (push) Successful in 19s
CI / cargo test (push) Successful in 48s
CI / cargo fmt --check (pull_request) Successful in 41s
CI / cargo clippy (pull_request) Successful in 26s
CI / cargo test (pull_request) Successful in 35s
CI / editor keymaps (push) Successful in 1m23s
CI / editor keymaps (pull_request) Successful in 1m26s

Rename the four commands_list_includes_phaseNN_entries tests after the
command namespace they cover (wiki, link health, export, diary), and
strip the "see SPEC §13.1" pointer from the not-yet-implemented runtime
notifications.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 15:28:06 -03:00
parent 21b485c91b
commit e5dde2e338
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ endfunction
function! s:notify_deferred(name) abort
echohl WarningMsg
echom 'nuwiki: ' . a:name . ' is not yet implemented — see SPEC §13.1'
echom 'nuwiki: ' . a:name . ' is not yet implemented'
echohl None
endfunction
+1 -1
View File
@@ -337,7 +337,7 @@ fn diary_entry_serializes_to_date_string_and_uri() {
// ===== COMMANDS list completeness =====
#[test]
fn commands_list_includes_phase16_entries() {
fn commands_list_includes_diary_entries() {
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
for name in [
"nuwiki.diary.openToday",
+1 -1
View File
@@ -474,7 +474,7 @@ fn write_rss_emits_valid_xml_with_entries() {
// ===== COMMANDS list completeness =====
#[test]
fn commands_list_includes_phase17_entries() {
fn commands_list_includes_export_entries() {
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
for name in [
"nuwiki.export.currentToHtml",
+1 -1
View File
@@ -630,7 +630,7 @@ fn anchor_matches_unicode_heading() {
// ===== COMMANDS completeness =====
#[test]
fn commands_list_includes_phase15_entries() {
fn commands_list_includes_link_health_entries() {
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
for name in [
"nuwiki.toc.generate",
+1 -1
View File
@@ -185,7 +185,7 @@ fn interwiki_resolution_falls_back_when_wiki_missing() {
// ===== Wiki commands: COMMANDS list completeness =====
#[test]
fn commands_list_includes_phase18_entries() {
fn commands_list_includes_wiki_entries() {
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
for name in [
"nuwiki.wiki.listAll",
+1 -1
View File
@@ -477,7 +477,7 @@ end
local function _not_yet(name)
return function()
vim.notify(
'nuwiki: ' .. name .. ' is not yet implemented — see SPEC §13.1',
'nuwiki: ' .. name .. ' is not yet implemented',
vim.log.levels.WARN
)
end
+1 -1
View File
@@ -138,7 +138,7 @@ end
local function deferred(name)
return function()
vim.notify(
'nuwiki: ' .. name .. ' is not yet implemented — see SPEC §13.1',
'nuwiki: ' .. name .. ' is not yet implemented',
vim.log.levels.WARN
)
end