From 329c4bcd03b6ac0e84681a32d05aa8402ced9e02 Mon Sep 17 00:00:00 2001 From: Christopher Fuller Date: Sun, 23 Feb 2025 17:48:02 -0800 Subject: [PATCH] Fix mock plugin list tests import --- Tests/NodesGeneratorTests/Support/TestFactories.swift | 2 +- .../StencilContextsTests/testPluginListStencilContext.1.txt | 2 +- ...RenderPluginList_withTests.PluginListTests-mockCount-1.txt | 2 +- ...RenderPluginList_withTests.PluginListTests-mockCount-2.txt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/NodesGeneratorTests/Support/TestFactories.swift b/Tests/NodesGeneratorTests/Support/TestFactories.swift index bb5a44e79..351bba2bd 100644 --- a/Tests/NodesGeneratorTests/Support/TestFactories.swift +++ b/Tests/NodesGeneratorTests/Support/TestFactories.swift @@ -257,7 +257,7 @@ extension TestFactories { fileHeader: "", pluginListName: "", pluginListImports: .mock(with: "pluginListImport", count: mockCount), - pluginListTestsImports: .mock(with: "pluginListTestsImports", count: mockCount), + pluginListTestsImports: .mock(with: "pluginListTestsImport", count: mockCount), viewControllableFlowType: "", isPeripheryCommentEnabled: mockCount > 0, isNimbleEnabled: mockCount > 0 diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilContextsTests/testPluginListStencilContext.1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilContextsTests/testPluginListStencilContext.1.txt index 074f70e96..03ae5fe2f 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilContextsTests/testPluginListStencilContext.1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilContextsTests/testPluginListStencilContext.1.txt @@ -18,7 +18,7 @@ ▿ (2 elements) - key: "plugin_list_tests_imports" ▿ value: 1 element - - "" + - "" ▿ (2 elements) - key: "view_controllable_flow_type" - value: "" diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-1.txt index e57d232f7..a49deb38d 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-1.txt @@ -2,7 +2,7 @@ #warning("Manually move this test file to the corresponding test target then delete this warning.") -import +import final class PluginListTests: XCTestCase { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-2.txt index e2bb20c7a..eb7f80094 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderPluginList_withTests.PluginListTests-mockCount-2.txt @@ -2,8 +2,8 @@ #warning("Manually move this test file to the corresponding test target then delete this warning.") -import -import +import +import final class PluginListTests: XCTestCase {