From 9f0da92ca7c03b55ea666a222e3ab8fde123907f Mon Sep 17 00:00:00 2001 From: Erik Date: Sun, 5 Jul 2026 19:18:21 +0200 Subject: [PATCH] test(pipeline): MP0 - restore invariant-culture assertion dropped from formatter test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plan's FormatReport_IsInvariantAndComplete test ends with a DoesNotContain(",0") guard (after stripping the gc=3/1/0 token) proving the formatter emits period decimals regardless of the host culture. It was dropped in the Task 3 commit; restored verbatim. Passes as-is — FormatReport already uses CultureInfo.InvariantCulture throughout. Co-Authored-By: Claude Sonnet 5 --- tests/AcDream.App.Tests/FrameProfilerReportTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/AcDream.App.Tests/FrameProfilerReportTests.cs b/tests/AcDream.App.Tests/FrameProfilerReportTests.cs index e451f576..1a087074 100644 --- a/tests/AcDream.App.Tests/FrameProfilerReportTests.cs +++ b/tests/AcDream.App.Tests/FrameProfilerReportTests.cs @@ -33,6 +33,7 @@ public class FrameProfilerReportTests Assert.Contains("alloc_kb p50=5.0 max=10.0", line); Assert.Contains("gc=3/1/0", line); Assert.Contains("upd p50=1.0", line); // stage 0: 200µs·5 = 1.0 ms + Assert.DoesNotContain(",0", line.Replace("gc=3/1/0", "")); // no comma decimals (invariant culture) } [Fact]