From cdfc0c4f7b26cc79276e5a7ec8842c8abf49a0dc Mon Sep 17 00:00:00 2001 From: Kazuhiro Hayashi Date: Sun, 9 Feb 2020 12:18:23 +0900 Subject: [PATCH] fix unit test with large width host application --- PagingKitTests/PagingMenuViewControllerTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/PagingKitTests/PagingMenuViewControllerTests.swift b/PagingKitTests/PagingMenuViewControllerTests.swift index bc80ea4..c751a73 100644 --- a/PagingKitTests/PagingMenuViewControllerTests.swift +++ b/PagingKitTests/PagingMenuViewControllerTests.swift @@ -145,6 +145,7 @@ class PagingMenuViewControllerTests: XCTestCase { func testHookCompletionHandlerAfterReloadData() { let dataSource = MenuViewControllerDataSourceMock() + dataSource.data = Array(repeating: "foo", count: 1000) let menuViewController = PagingMenuViewControllerTests.makeViewController(with: dataSource) dataSource.registerNib(to: menuViewController)