Skip to content

Commit

Permalink
Update expected warnings in ILLink test
Browse files Browse the repository at this point in the history
The new version of ILLink slightly changes the formatting of warning messages (we add space after comma in a method signature). This has very low probablity of actually breaking anybody, but the test infra compares strings directly, so it noticed.
This change updates the expected warnings with the new format.

It also removes an expected warning which is no longer generated.
  • Loading branch information
vitek-karas committed Feb 24, 2022
1 parent fd448ab commit 3f4ffad
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,9 @@ public void ILLink_verify_analysis_warnings_hello_world_app_trim_mode_copyused(s

// Please keep list below sorted and de-duplicated
var expectedOutput = new string[] {
"ILLink : Trim analysis warning IL2026: Internal.Runtime.InteropServices.ComponentActivator.GetFunctionPointer(IntPtr,IntPtr,IntPtr,IntPtr,IntPtr,IntPtr",
"ILLink : Trim analysis warning IL2026: Internal.Runtime.InteropServices.InMemoryAssemblyLoader.LoadInMemoryAssembly(IntPtr,IntPtr",
"ILLink : Trim analysis warning IL2026: System.ComponentModel.Design.DesigntimeLicenseContextSerializer.DeserializeUsingBinaryFormatter(DesigntimeLicenseContextSerializer.StreamWrapper,String,RuntimeLicenseContext",
"ILLink : Trim analysis warning IL2026: System.Resources.ManifestBasedResourceGroveler.CreateResourceSet(Stream,Assembly",
"ILLink : Trim analysis warning IL2026: Internal.Runtime.InteropServices.InMemoryAssemblyLoader.LoadInMemoryAssembly(IntPtr, IntPtr",
"ILLink : Trim analysis warning IL2026: System.ComponentModel.Design.DesigntimeLicenseContextSerializer.DeserializeUsingBinaryFormatter(DesigntimeLicenseContextSerializer.StreamWrapper, String, RuntimeLicenseContext",
"ILLink : Trim analysis warning IL2026: System.Resources.ManifestBasedResourceGroveler.CreateResourceSet(Stream, Assembly",
"ILLink : Trim analysis warning IL2026: System.StartupHookProvider.ProcessStartupHooks(",
};

Expand Down

0 comments on commit 3f4ffad

Please sign in to comment.