mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Check VelopackApp on all platforms / better error messages
This commit is contained in:
@@ -184,7 +184,7 @@ public class WindowsPackTests
|
||||
var runner = new WindowsPackCommandRunner(logger);
|
||||
runner.Run(options).GetAwaiterResult();
|
||||
|
||||
Assert.Throws<ArgumentException>(() => runner.Run(options).GetAwaiterResult());
|
||||
Assert.Throws<UserErrorException>(() => 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<ArgumentException>(() => runner.Run(options).GetAwaiterResult());
|
||||
Assert.Throws<UserErrorException>(() => runner.Run(options).GetAwaiterResult());
|
||||
}
|
||||
|
||||
[SkippableFact]
|
||||
@@ -253,7 +253,7 @@ public class WindowsPackTests
|
||||
};
|
||||
|
||||
var runner = new WindowsPackCommandRunner(logger);
|
||||
Assert.Throws<Exception>(() => runner.Run(options).GetAwaiterResult());
|
||||
Assert.Throws<UserErrorException>(() => runner.Run(options).GetAwaiterResult());
|
||||
}
|
||||
|
||||
[SkippableFact]
|
||||
|
||||
Reference in New Issue
Block a user