10 references to NonOsNewLine
Aspire.Cli.Tests (10)
Commands\InitCommandTests.cs (1)
902
await File.WriteAllTextAsync(configPath, "{\n \"channel\": \"stable\"\n}\n".ReplaceLineEndings(LineEndingAssert.
NonOsNewLine
));
Configuration\ConfigurationHelperTests.cs (6)
480
var json = "{" + LineEndingAssert.
NonOsNewLine
+ " \"a\": 1" + LineEndingAssert.
NonOsNewLine
+ "}";
531
File.WriteAllText(settingsPath, "{" + LineEndingAssert.
NonOsNewLine
+ " \"channel\": \"stable\"" + LineEndingAssert.
NonOsNewLine
+ "}");
551
File.WriteAllText(settingsPath, "{" + LineEndingAssert.
NonOsNewLine
+ " \"features:showAllTemplates\": true" + LineEndingAssert.
NonOsNewLine
+ "}");
Configuration\ConfigurationServiceTests.cs (2)
177
var (service, settingsFilePath) = CreateService(workspace, "{\n \"appHost\": {\n \"path\": \"MyApp.csproj\"\n }\n}\n".ReplaceLineEndings(LineEndingAssert.
NonOsNewLine
));
202
var (service, settingsFilePath) = CreateService(workspace, "{\n \"channel\": \"daily\",\n \"appHost\": {\n \"path\": \"MyApp.csproj\"\n }\n}\n".ReplaceLineEndings(LineEndingAssert.
NonOsNewLine
));
Templating\CliTemplateFactoryConfigLineEndingTests.cs (1)
38
content => content.ReplaceLineEndings(LineEndingAssert.
NonOsNewLine
),