From 0195fa493308e8b9b00697afe029ca3eb05a27d0 Mon Sep 17 00:00:00 2001 From: Christian Engelhardt Date: Mon, 2 Dec 2024 20:12:11 +0100 Subject: [PATCH] test: adapt to changes in API of lib --- libNOM.test/Helper/CommonTestClass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libNOM.test/Helper/CommonTestClass.cs b/libNOM.test/Helper/CommonTestClass.cs index 4aa9e76..347cdef 100644 --- a/libNOM.test/Helper/CommonTestClass.cs +++ b/libNOM.test/Helper/CommonTestClass.cs @@ -375,7 +375,7 @@ protected static void TestCommonAnalyzePath(string path, PlatformEnum platformRe var collection = new PlatformCollection(); var countOrigin = collection.Count(); - var platform = collection.AnalyzePath(path, settings, platformPreferred); + var platform = collection.AnalyzePath(path, settings, platformPreferred).FirstOrDefault(); var countResult = collection.Count(); // Assert