Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Mar 4, 2021
1 parent 0bc6d22 commit 09e0948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ReportGenerator.Core.Test/Parser/Analysis/ClassTest.cs
Expand Up @@ -18,14 +18,15 @@ public class ClassTest
[InlineData("TestClass`1", "TestClass<T>")]
[InlineData("TestClass`2", "TestClass<T1, T2>")]
[InlineData("TestClass`3", "TestClass<T1, T2, T3>")]
public void Constructor(string classname, string expectedClassName)
public void Constructor(string classname, string expectedClassDisplayName)
{
Assembly assembly = new Assembly("C:\\test\\TestAssembly.dll");

var sut = new Class(classname, assembly);

Assert.Equal(assembly, sut.Assembly);
Assert.Equal(expectedClassName, sut.Name);
Assert.Equal(classname, sut.Name);
Assert.Equal(expectedClassDisplayName, sut.DisplayName);
}

/// <summary>
Expand Down

0 comments on commit 09e0948

Please sign in to comment.