summaryrefslogtreecommitdiff
path: root/src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-08-25 15:06:04 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-08-26 10:03:37 -0500
commita37208d9a26ec7886870cc17f0726676a285bf7f (patch)
treee620e863cd16801d126cee93eaca7b63293914cf /src/internal/WixBuildTools.TestSupport/XunitExtensions/WixAssert.cs
parent6bd9fb04a9a8c1805a3e909583cca85c54dea7e4 (diff)
downloadwix-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.cs2
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