mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 17:47:21 +00:00
Fixed mixed line breaks in saved code files and tests failing on Windows (#1149)
This commit is contained in:
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())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user