From 673d368317de03839c915e175f9f17802b557489 Mon Sep 17 00:00:00 2001 From: Garric Nahapetian Date: Mon, 30 Oct 2023 18:57:27 -0700 Subject: [PATCH] Fix test --- Tests/LayoutTests/ViewLayoutItemTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/LayoutTests/ViewLayoutItemTests.swift b/Tests/LayoutTests/ViewLayoutItemTests.swift index 601867c9..bff9e200 100644 --- a/Tests/LayoutTests/ViewLayoutItemTests.swift +++ b/Tests/LayoutTests/ViewLayoutItemTests.swift @@ -27,6 +27,6 @@ final class ViewLayoutItemTests: XCTestCase { // THEN expect(viewLayoutItem.layoutItemView) == view - expect(viewLayoutItem.superviewConstraints(UIView())) === [constraint] + expect(viewLayoutItem.superviewConstraints(UIView())[0]) === constraint } }