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

DoesntFindAMatchWhenMatchIsBeforeStartIndex() private method

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

            matcher.SetStartIndex(5);

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