From 0f71a9f3ca65aa53d8bec3b38155f324c977e6c0 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 09:01:06 +0200 Subject: [PATCH] Heimdall tests: fix two log-join string literals broken by a newline d695674 does not build (two string literals split across lines); this commit repairs it. cf4e5b4 inherits the break. Co-Authored-By: Claude Opus 5.5 --- tests/Bifrost.Web.Tests/HeimdallCompletionTests.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Bifrost.Web.Tests/HeimdallCompletionTests.cs b/tests/Bifrost.Web.Tests/HeimdallCompletionTests.cs index 0544438..2e9ed0c 100644 --- a/tests/Bifrost.Web.Tests/HeimdallCompletionTests.cs +++ b/tests/Bifrost.Web.Tests/HeimdallCompletionTests.cs @@ -1168,8 +1168,7 @@ public sealed class HeimdallCompletionTests Assert.Equal(HttpStatusCode.Redirect, start.StatusCode); Assert.Equal(canary, Assert.Single(host.Heimdall.StartSecrets)); - var logs = string.Join(" -", host.Logs.Lines); + var logs = string.Join("\n", host.Logs.Lines); Assert.Contains(HeimdallAuthService.AppSecretHeader, logs, StringComparison.OrdinalIgnoreCase); Assert.DoesNotContain(canary, logs); } @@ -1245,7 +1244,6 @@ public sealed class HeimdallCompletionTests Assert.Equal(ErrorRedirect, refused.Response.Headers.Location!.OriginalString); Assert.Empty(host.Heimdall.StartBodies); Assert.False(refused.Response.Headers.Contains("Set-Cookie")); - Assert.Contains("Heimdall start refused: Heimdall is not configured.", string.Join(" -", host.Logs.Lines)); + Assert.Contains("Heimdall start refused: Heimdall is not configured.", string.Join("\n", host.Logs.Lines)); } }