Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit a07a209

Browse files
committed
Update AutoMappingTests.cs
1 parent 6b6e930 commit a07a209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ServiceStack.Text.Tests/AutoMappingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ public void Does_convert_models_with_collections()
599599
Assert.That(MatchesUsers(array, from.Collection.ConvertTo<User[]>()));
600600
Assert.That(MatchesUsers(array, from.Collection.ConvertTo<HashSet<User>>()));
601601

602-
var hashset = from.Collection.ToHashSet();
602+
var hashset = from.Collection.ToSet();
603603
Assert.That(MatchesUsers(hashset, from.Collection.ConvertTo<IEnumerable<User>>()));
604604
Assert.That(MatchesUsers(hashset, from.Collection.ConvertTo<List<User>>()));
605605
Assert.That(MatchesUsers(hashset, from.Collection.ConvertTo<User[]>()));

0 commit comments

Comments
 (0)