test(templateengine): drop racy verdict-cache Count assertion from the faulted-compile test (review 2026-10-21 04/C1)

This commit is contained in:
Joseph Doherty
2026-10-22 06:21:45 -04:00
parent 8c935480fa
commit 2ca60f86ff
@@ -304,8 +304,8 @@ public class ScriptCompilerTests
Assert.True(first.IsFailure);
Assert.Contains("'Flaky'", first.Error);
Assert.Contains("metadata read failed", first.Error);
Assert.Equal(0, ScriptCompileVerdictCache.Count); // nothing memoised
// Nothing was memoised: the second call re-runs the compile and succeeds.
Assert.True(c.TryCompile(code, "Flaky").IsSuccess); // pre-fix: sticky "failed to compile"
}
}