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