Skip to content

Commit

Permalink
Make GetAssemblyName test more robust (#80878)
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov authored Jan 20, 2023
1 parent 26d9ff9 commit e13e738
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3090,7 +3090,7 @@ public void GetAssemblyName()

if (PlatformDetection.HasAssemblyFiles)
{
Assembly a = typeof(MetadataReaderTests).Assembly;
Assembly a = typeof(MetadataReader).Assembly;
AssemblyName name = MetadataReader.GetAssemblyName(AssemblyPathHelper.GetAssemblyLocation(a));
Assert.Equal(new AssemblyName(a.FullName).ToString(), name.ToString());

Expand Down

0 comments on commit e13e738

Please sign in to comment.