Пример #1
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);
 }
Пример #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);
        }