public bool case_does_not_matter_with_ignores(string pattern, string file)
 {
     var sut = new FileGlobber();
     sut.AddPattern("*");
     sut.IgnorePattern(pattern);
     return !sut.ShouldCheckFile(file);
 }
예제 #2
0
 public bool it_excludes_raw_names(string pattern, string file)
 {
     var sut = new FileGlobber();
     sut.AddPattern("*");
     sut.IgnorePattern(pattern);
     return sut.ShouldCheckFile(file);
 }
예제 #3
0
파일: NetLint.cs 프로젝트: tkellogg/NetLint
 private static void StandardIgnores(FileGlobber g)
 {
     foreach (var pattern in FileGlobber.StandardIgnores)
     {
         g.IgnorePattern(pattern);
     }
 }