diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-08-25 15:06:04 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-08-26 10:03:37 -0500 |
commit | a37208d9a26ec7886870cc17f0726676a285bf7f (patch) | |
tree | e620e863cd16801d126cee93eaca7b63293914cf /src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs | |
parent | 6bd9fb04a9a8c1805a3e909583cca85c54dea7e4 (diff) | |
download | wix-a37208d9a26ec7886870cc17f0726676a285bf7f.tar.gz wix-a37208d9a26ec7886870cc17f0726676a285bf7f.tar.bz2 wix-a37208d9a26ec7886870cc17f0726676a285bf7f.zip |
Make sure error codes are translated correctly for per-machine packages.
Diffstat (limited to '')
-rw-r--r-- | src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs b/src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs index d8d02746..a8513bfb 100644 --- a/src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs +++ b/src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs | |||
@@ -58,7 +58,7 @@ namespace WixBuildTools.TestSupport | |||
58 | { | 58 | { |
59 | if (hrExpected != hr) | 59 | if (hrExpected != hr) |
60 | { | 60 | { |
61 | throw new SpecificReturnCodeException(hr, String.Format(format, formatArgs)); | 61 | throw new SpecificReturnCodeException(hrExpected, hr, String.Format(format, formatArgs)); |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||