From b79a71a1cf71d022c7c39c64d007876927601a53 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Wed, 9 Aug 2023 13:02:45 -0500 Subject: [PATCH] test: Fix broken tests due to mistakenly removed whitespace --- .../Recyclarr.TrashLib.Tests/Config/Parsing/ConfigSaverTest.cs | 3 ++- .../Config/Parsing/ConfigurationLoaderTest.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigSaverTest.cs b/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigSaverTest.cs index 2b6151e5..da1dbdfb 100644 --- a/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigSaverTest.cs +++ b/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigSaverTest.cs @@ -58,12 +58,13 @@ public class ConfigSaverTest : TrashLibIntegrationFixture sut.Save(config, destFile); - var expectedYaml = + const string expectedYaml = """ radarr: instance1: api_key: apikey base_url: http://baseurl.com + """; var expectedFile = Fs.GetFile(destFile); diff --git a/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationLoaderTest.cs b/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationLoaderTest.cs index 3ae5a96e..2076bd42 100644 --- a/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationLoaderTest.cs +++ b/src/tests/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationLoaderTest.cs @@ -39,9 +39,11 @@ public class ConfigurationLoaderTest : TrashLibIntegrationFixture var str = new StringBuilder($"{sectionName}:"); const string templateYaml = """ + instance{1}: base_url: http://{0} api_key: abc + """; var counter = 0;