Skip to content

Commit

Permalink
Edit homework after third review
Browse files Browse the repository at this point in the history
  • Loading branch information
dmseul committed Nov 6, 2024
1 parent e78c57f commit ec12833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void CheckCurrentTsar()
new Person("Vasili III of Russia", 28, 170, 60, null));

actualTsar.Should().BeEquivalentTo(expectedTsar, options => options
.Excluding(x => x.DeclaringType == typeof(Person) && x.Path.Contains("Id")));
.Excluding(x => x.DeclaringType == typeof(Person) && x.Name == "Id"));
}

[Test]
Expand Down

0 comments on commit ec12833

Please sign in to comment.