BooLangStudioSpecs.StringParsing.ExcludeStringMatcherTests.DoesntFindMatchIfMatchIsInsideStringLiteral C# (CSharp) Method

DoesntFindMatchIfMatchIsInsideStringLiteral() private method

private DoesntFindMatchIfMatchIsInsideStringLiteral ( ) : void
return void
        public void DoesntFindMatchIfMatchIsInsideStringLiteral()
        {
            string source = "Some \"!\" String";
            var matcher = new ExcludeStringMatcher(source);

            Assert.Null(matcher.FindNextIndex('!'));
        }