3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 06:35:44 +01:00

36b - review: no stale private flag, no undefined freeze

This commit is contained in:
2026-09-28 03:55:29 +02:00
parent 86c80fe40e
commit 73c4b32904
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ function calledCodes(): string[] {
return [...called].sort()
}
// The list is frozen at 0.1.0 (docs/decisions.md §The code list), so a code outliving its cause is a removal that costs a MAJOR.
// Removing a code is breaking (docs/decisions.md §The code list), so a code must not outlive its cause.
test('every ConvertErrorCode is the code of a production call site, and every call site names a declared one', () => {
assert.deepEqual(calledCodes(), declaredCodes())
})