tests/TestTreeFilteringScripts.cs
/// <summary>
/// Forget the closing multiline script %}
/// </summary>
Forget the closing multiline script %}
Forget the closing multiline script % }
[Fact]
        public void InvalidMultiLineScript()
        {
            var test = InitializeTest();
            var result = Program.Main("--keep", @"* {% 
entry.Discard = entry.IsBinary || entry.Size > 10; 
",
                "--repo-dir", test.Path,
                "--branch", NewBranch,
                @"HEAD");
            Assert.NotEqual(0, result);
            Assert.Contains("Expecting the end %} of multiline script", test.Output);
            test.Dispose();
        }
[ Fact ] public void InvalidMultiLineScript ( ) { var test = InitializeTest ( ) ; var result = Program . Main ( " " , @"* {% 
entry.Discard = entry.IsBinary || entry.Size > 10; 
" , " " , test . Path , " " , NewBranch , @"HEAD" ) ; Assert . NotEqual ( 0 , result ) ; Assert . Contains ( " " , test . Output ) ; test . Dispose ( ) ; }
Forget the closing multiline script %}
Forget the closing multiline script % }
// Cleanup the test only if we succeed