diff options
author | Marek Safar <marek.safar@gmail.com> | 2020-04-07 19:05:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 19:05:02 +0300 |
commit | 269deccf88e998c762fb74914da793cf19093869 (patch) | |
tree | a26ee900f24ce449675002263666c045e6924567 /test/Mono.Linker.Tests | |
parent | 69f31a90085e33dcde1b1ad900ed0c909bac578b (diff) |
Fix error codes range to always have constant length for easier… (#1067)feature-dataflow
* Fix error codes range to always have constant length for easier reading
* Test updates
Diffstat (limited to 'test/Mono.Linker.Tests')
-rw-r--r-- | test/Mono.Linker.Tests/Tests/MessageContainerTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs b/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs index d2b134efb..04172d2d8 100644 --- a/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs +++ b/test/Mono.Linker.Tests/Tests/MessageContainerTests.cs @@ -8,8 +8,8 @@ namespace Mono.Linker.Tests [Test] public void MSBuildFormat () { - var msg = MessageContainer.CreateErrorMessage ("text", 0); - Assert.AreEqual ("illinker: error IL0000: text", msg.ToMSBuildString ()); + var msg = MessageContainer.CreateErrorMessage ("text", 1000); + Assert.AreEqual ("illinker: error IL1000: text", msg.ToMSBuildString ()); msg = MessageContainer.CreateWarningMessage ("message", 2001, origin: new MessageOrigin("logtest", 1, 1)); Assert.AreEqual ("logtest(1,1): warning IL2001: message", msg.ToMSBuildString ()); |