Il commento di PageLeaveGrace chiamava ancora «proposta» i 5 secondi della domanda 20 di §16, confermati il 29 novembre: ora dice la risposta, e la prova delle frasi superate guarda anche i commenti del codice in src/. In docs/stato.md la traduzione dei commenti degli script di shell non è più «da decidere» (#43 l'ha decisa) ma da fare, in «Rimandato»; lì anche #67, deciso e non ancora fatto, e la riga sulla corsa di #67 lo dice. Le righe di #43 e #67 in docs/decisioni.md dicono che sono solo la decisione: il codice e gli script non sono ancora cambiati. Intestazione e frase sulla conferma del 29 novembre riscritte perché non sembri che le proposte siano state adottate quel giorno. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30cc6b0068
commit
7cc61624f1
4 files changed
+31
-15
No files matched your search
@@ -287,7 +287,7 @@ public sealed partial class SpecificationConsistencyTests
|
||||
|
||||
/// <summary>
|
||||
/// Since 29 November 2026 the answers of §16, 19–38, are Alberto's: no document, the guide and docs/stato.md
|
||||
/// included, still calls them proposals to confirm.
|
||||
/// included, still calls them proposals to confirm, and no code comment under src/ either.
|
||||
/// </summary>
|
||||
[TestMethod]
|
||||
public void NoDocumentCallsTheAnswersOf29NovemberProposals()
|
||||
@@ -308,6 +308,16 @@ public sealed partial class SpecificationConsistencyTests
|
||||
problems.AddRange(stale.Where(p => text.Contains(p, StringComparison.Ordinal)).Select(p => $"{Path.GetRelativePath(root, file)} dice ancora «{p}»"));
|
||||
}
|
||||
|
||||
// The code comments too (in English): the 5 seconds of question 20 are an answer, not a proposal.
|
||||
string[] staleInCode = ["proposal of 5 seconds"];
|
||||
var sources = Directory.EnumerateFiles(Path.Combine(root, "src"), "*.cs", SearchOption.AllDirectories)
|
||||
.Where(f => !f.Split(Path.DirectorySeparatorChar).Any(d => d is "bin" or "obj"));
|
||||
foreach (var file in sources)
|
||||
{
|
||||
var text = File.ReadAllText(file);
|
||||
problems.AddRange(staleInCode.Where(p => text.Contains(p, StringComparison.OrdinalIgnoreCase)).Select(p => $"{Path.GetRelativePath(root, file)} dice ancora «{p}»"));
|
||||
}
|
||||
|
||||
Assert.IsEmpty(problems, string.Join("\n", problems));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user