Heimdall tests: fix two log-join string literals broken by a newline
d695674does not build (two string literals split across lines); this commit repairs it.cf4e5b4inherits the break. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cf4e5b4327
commit
0f71a9f3ca
1 changed files with 2 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue