Skip to content

Commit

Permalink
Update documentation: Add missing tip for `ContainItemsAssignableTo<T…
Browse files Browse the repository at this point in the history
…>()` (#1873)
  • Loading branch information
IT-VBFK committed Apr 2, 2022
1 parent 654827f commit e32b95f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_data/mstest-migration/collectionAssert.yml
Expand Up @@ -122,12 +122,12 @@
CollectionAssert.AllItemsAreInstancesOfType(actual, typeof(T));
new: |
actual.Should().ContainItemsAssignableTo<T>();
actual.Should().AllBeAssignableTo<T>();
old-message: |
CollectionAssert.AllItemsAreInstancesOfType failed. Element at index 0 is not of expected type. Expected type:<UnitTests2.MyIdenticalClass>. Actual type:<UnitTests2.MyClass>.
new-message: |
Expected collection to contain only items of type UnitTests2.MyIdenticalClass, but item SomeProperty: 1, OtherProperty: item at index 0 is of type UnitTests2.MyClass.
Expected type to be "T", but found [System.String],

0 comments on commit e32b95f

Please sign in to comment.