test(templateengine): drop racy verdict-cache Count assertion from the faulted-compile test (review 2026-10-21 04/C1)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user