Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/ClosingStructurePermutationHelperTest.cs =================================================================== diff -u -r6949918830314633db5cc8c16bb2188779fffc93 -r16559315c0a64fffd05827d249200c62e353231f --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/ClosingStructurePermutationHelperTest.cs (.../ClosingStructurePermutationHelperTest.cs) (revision 6949918830314633db5cc8c16bb2188779fffc93) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil.Test/ClosingStructurePermutationHelperTest.cs (.../ClosingStructurePermutationHelperTest.cs) (revision 16559315c0a64fffd05827d249200c62e353231f) @@ -78,9 +78,7 @@ private static void AssertTestNames(IEnumerable testCaseData, string targetName, string testResultDescription) { - IEnumerable testNames = testCaseData - .Select(tcd => tcd.TestName) - .ToArray(); + IEnumerable testNames = testCaseData.Select(tcd => tcd.TestName); Assert.AreEqual(testCaseData.Count(), testNames.Distinct().Count()); Assert.IsTrue(testNames.All(tn => tn.StartsWith($"{targetName}_"))); Assert.IsTrue(testNames.All(tn => tn.EndsWith($"_{testResultDescription}")));