예제 #1
0
        public void NoDefaultSection()
        {
            const string text = @"
client:
";

            Assert.That(YamlFromText.HooksParser(text).Get().Count == 0);
        }
예제 #2
0
        public void HooksEmpty()
        {
            const string text = @"
default:
  hooks:

client:
";

            Assert.That(YamlFromText.HooksParser(text).Get().Count == 0);
        }