Fixed mixed line breaks in saved code files and tests failing on Windows (#1149)

This commit is contained in:
Paul Koudelka authored and GitHub committed 2026-11-03 14:43:26 +01:00
1 parent 770c16e20a
commit f864359290
4 files changed
+39 -4

No files matched your search

@@ -117,7 +117,8 @@ public sealed class SwotCategoryAnalysisResponseTests
public void TheSystemPromptAssignsExactlyOneCategory(string categoryName, string expectedDescription)
{
var category = Enum.Parse<SwotAnalysisCategory>(categoryName);
var prompt = SwotCategoryAnalysis.BuildSystemPrompt(category, "Answer in German.");
// The prompt takes the line breaks of its source file, which depend on the checkout:
var prompt = SwotCategoryAnalysis.BuildSystemPrompt(category, "Answer in German.").ReplaceLineEndings("\n");
using (Assert.EnterMultipleScope())
{