Refactor delta gen, add bsdiff fallback, better error messages

This commit is contained in:
Caelan Sayler
2024-01-13 11:18:44 +00:00
parent d9d47dd62e
commit 8ff0bf57dd
11 changed files with 235 additions and 175 deletions

View File

@@ -184,7 +184,7 @@ public class WindowsPackTests
var runner = new WindowsPackCommandRunner(logger);
runner.Run(options).GetAwaiterResult();
Assert.Throws<UserErrorException>(() => runner.Run(options).GetAwaiterResult());
Assert.Throws<UserInfoException>(() => runner.Run(options).GetAwaiterResult());
}
[SkippableFact]
@@ -222,7 +222,7 @@ public class WindowsPackTests
runner.Run(options).GetAwaiterResult();
options.TargetRuntime = RID.Parse("win10.0.19043-x86");
Assert.Throws<UserErrorException>(() => runner.Run(options).GetAwaiterResult());
Assert.Throws<UserInfoException>(() => runner.Run(options).GetAwaiterResult());
}
[SkippableFact]