The ENVIRONMENT.md test also checks each row's default against the code #24
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
lantea-one/ninlil#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
src/dotnet/tests/Ninlil.Web.Tests/EnvironmentVariableDocumentationTests.cschecks names andtotals in both directions but not the Default column, so a changed default leaves a wrong row.
What changes
Extend
FindDrift: for each mapped variable whose property default is a plain value (number,bool, enum, TimeSpan, non-empty string) read the default from a new instance of the options class
and compare it with the row's Default cell, normalised (backticks,
00:00:30form). Rows whosedefault is set at startup or is a path under
data/are listed in an explicit allow-list with areason each. Add a self-test like the two existing ones: a document with a wrong default is
reported.
Acceptance
the PR).
Source
d-design.md:393("a defaults column check inEnvironmentVariableDocumentationTests").Ghost referenced this issue2026-11-05 06:23:53 -05:00
Ghost referenced this issue2026-11-05 06:47:55 -05:00