Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik committed Jun 27, 2024
1 parent 1e85d20 commit 727e7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/GKTests/GDModel/GDMLocationRecordTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public void Test_Carbuna()
carbuna.AddLocLink(moldavianSsr, "FROM 2 AUG 1940 TO 27 AUG 1991");

var names = carbuna.GetFullNames(tree, ATDEnumeration.fLtS);
var result = string.Join("\n", names.Select(x => string.Format("'{0}': '{1}'", x.Date.ToString(), x.StringValue)));
var result = string.Join("\n", names.OrderBy(x => x.Date).Select(x => string.Format("'{0}': '{1}'", x.Date.ToString(), x.StringValue)));

Assert.AreEqual(
"'__.__.1775 [G] - 01.08.1940 [G]': 'Карбуна'\n" +
Expand Down

0 comments on commit 727e7c6

Please sign in to comment.