Skip to content

Commit

Permalink
Make GetAssemblyName test more robust (dotnet#80878)
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov authored and mdh1418 committed Jan 24, 2023
1 parent f1de0a8 commit 4aefffb
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 4aefffb

Please sign in to comment.