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
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:
@@ -107,7 +107,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:notify_deferred(name) abort
|
function! s:notify_deferred(name) abort
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echom 'nuwiki: ' . a:name . ' is not yet implemented — see SPEC §13.1'
|
echom 'nuwiki: ' . a:name . ' is not yet implemented'
|
||||||
echohl None
|
echohl None
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ fn diary_entry_serializes_to_date_string_and_uri() {
|
|||||||
// ===== COMMANDS list completeness =====
|
// ===== COMMANDS list completeness =====
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn commands_list_includes_phase16_entries() {
|
fn commands_list_includes_diary_entries() {
|
||||||
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
||||||
for name in [
|
for name in [
|
||||||
"nuwiki.diary.openToday",
|
"nuwiki.diary.openToday",
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ fn write_rss_emits_valid_xml_with_entries() {
|
|||||||
// ===== COMMANDS list completeness =====
|
// ===== COMMANDS list completeness =====
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn commands_list_includes_phase17_entries() {
|
fn commands_list_includes_export_entries() {
|
||||||
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
||||||
for name in [
|
for name in [
|
||||||
"nuwiki.export.currentToHtml",
|
"nuwiki.export.currentToHtml",
|
||||||
|
|||||||
@@ -630,7 +630,7 @@ fn anchor_matches_unicode_heading() {
|
|||||||
// ===== COMMANDS completeness =====
|
// ===== COMMANDS completeness =====
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn commands_list_includes_phase15_entries() {
|
fn commands_list_includes_link_health_entries() {
|
||||||
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
||||||
for name in [
|
for name in [
|
||||||
"nuwiki.toc.generate",
|
"nuwiki.toc.generate",
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ fn interwiki_resolution_falls_back_when_wiki_missing() {
|
|||||||
// ===== Wiki commands: COMMANDS list completeness =====
|
// ===== Wiki commands: COMMANDS list completeness =====
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn commands_list_includes_phase18_entries() {
|
fn commands_list_includes_wiki_entries() {
|
||||||
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
let names: Vec<&str> = nuwiki_lsp::commands::COMMANDS.to_vec();
|
||||||
for name in [
|
for name in [
|
||||||
"nuwiki.wiki.listAll",
|
"nuwiki.wiki.listAll",
|
||||||
|
|||||||
@@ -477,7 +477,7 @@ end
|
|||||||
local function _not_yet(name)
|
local function _not_yet(name)
|
||||||
return function()
|
return function()
|
||||||
vim.notify(
|
vim.notify(
|
||||||
'nuwiki: ' .. name .. ' is not yet implemented — see SPEC §13.1',
|
'nuwiki: ' .. name .. ' is not yet implemented',
|
||||||
vim.log.levels.WARN
|
vim.log.levels.WARN
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ end
|
|||||||
local function deferred(name)
|
local function deferred(name)
|
||||||
return function()
|
return function()
|
||||||
vim.notify(
|
vim.notify(
|
||||||
'nuwiki: ' .. name .. ' is not yet implemented — see SPEC §13.1',
|
'nuwiki: ' .. name .. ' is not yet implemented',
|
||||||
vim.log.levels.WARN
|
vim.log.levels.WARN
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user