From c830e691507f006d19055db51fa4e5a7e28ead68 Mon Sep 17 00:00:00 2001 From: Isaac Daly Date: Tue, 12 Nov 2024 21:49:01 +1100 Subject: [PATCH] More coverage --- .../YamlLoader/YamlLoader_LoadStylesTests.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Whim.Yaml.Tests/YamlLoader/YamlLoader_LoadStylesTests.cs b/src/Whim.Yaml.Tests/YamlLoader/YamlLoader_LoadStylesTests.cs index 37c129e30..ee0a3842c 100644 --- a/src/Whim.Yaml.Tests/YamlLoader/YamlLoader_LoadStylesTests.cs +++ b/src/Whim.Yaml.Tests/YamlLoader/YamlLoader_LoadStylesTests.cs @@ -124,6 +124,20 @@ public void Load_NoStyles_DoesNotAddUserDictionaries(string config, bool isYaml, """, false }, + { + """ + styles: {} + """, + true + }, + { + """ + { + "styles": {} + } + """, + false + }, }; [Theory]