diff options
author | Bob Arnson <bob@firegiant.com> | 2020-01-06 20:38:12 -0500 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-01-06 20:43:15 -0500 |
commit | 1f57a3f457f60b4a1bfdc76b47f5e14044ec5f2c (patch) | |
tree | 8bb45ccb613c2d3b40981a77b07c1640a54a800d /src/test | |
parent | 69651a71ff2fdc1e9897b878782d79dcc1f9b896 (diff) | |
download | wix-1f57a3f457f60b4a1bfdc76b47f5e14044ec5f2c.tar.gz wix-1f57a3f457f60b4a1bfdc76b47f5e14044ec5f2c.tar.bz2 wix-1f57a3f457f60b4a1bfdc76b47f5e14044ec5f2c.zip |
Add special handling for numeric Error ids.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs index a12ad469..75bbccd2 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |||
@@ -277,9 +277,9 @@ namespace WixToolsetTest.CoreIntegration | |||
277 | var intermediate = Intermediate.Load(Path.Combine(baseFolder, @"bin\test.wixpdb")); | 277 | var intermediate = Intermediate.Load(Path.Combine(baseFolder, @"bin\test.wixpdb")); |
278 | var section = intermediate.Sections.Single(); | 278 | var section = intermediate.Sections.Single(); |
279 | 279 | ||
280 | var errors = section.Tuples.OfType<ErrorTuple>().ToDictionary(t => t.Error); | 280 | var errors = section.Tuples.OfType<ErrorTuple>().ToDictionary(t => t.Id.Id); |
281 | Assert.Equal("Category 55 Emergency Doomsday Crisis", errors[1234].Message.Trim()); | 281 | Assert.Equal("Category 55 Emergency Doomsday Crisis", errors["1234"].Message.Trim()); |
282 | Assert.Equal(" ", errors[5678].Message); | 282 | Assert.Equal(" ", errors["5678"].Message); |
283 | 283 | ||
284 | var customAction1 = section.Tuples.OfType<CustomActionTuple>().Where(t => t.Id.Id == "CanWeReferenceAnError_YesWeCan").Single(); | 284 | var customAction1 = section.Tuples.OfType<CustomActionTuple>().Where(t => t.Id.Id == "CanWeReferenceAnError_YesWeCan").Single(); |
285 | Assert.Equal("1234", customAction1.Target); | 285 | Assert.Equal("1234", customAction1.Target); |