예제 #1
0
파일: DirAssert.cs 프로젝트: leloulight/dnx
 public static void Equal(Dir expected, Dir actual, bool compareContents = true)
 {
     var diff = actual.Diff(expected, compareContents);
     if (diff.NoDiff)
     {
         return;
     }
     throw new DirMismatchException(expected.LoadPath, actual.LoadPath, diff);
 }
예제 #2
0
        public static void Equal(Dir expected, Dir actual, bool compareContents = true)
        {
            var diff = actual.Diff(expected, compareContents);

            if (diff.NoDiff)
            {
                return;
            }
            throw new DirMismatchException(expected.LoadPath, actual.LoadPath, diff);
        }