Skip to content

Commit 847a73b

Browse files
committed
Tests: Rename CommandPluginDiagrosticsStub to be a generic test fixture
1 parent 24bfdd1 commit 847a73b

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

Tests/CommandsTests/PackageToolTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ final class PackageToolTests: CommandsTestCase {
18901890
let containsWarning = StringPattern.contains("command plugin: Diagnostics.warning")
18911891
let containsError = StringPattern.contains("command plugin: Diagnostics.error")
18921892

1893-
try fixture(name: "Miscellaneous/Plugins/CommandPluginDiagnosticsStub") { fixturePath in
1893+
try fixture(name: "Miscellaneous/Plugins/CommandPluginTestStub") { fixturePath in
18941894
func runPlugin(flags: [String], diagnostics: [String], completion: (String, String) -> Void) throws {
18951895
let (stdout, stderr) = try SwiftPM.Package.execute(flags + ["print-diagnostics"] + diagnostics, packagePath: fixturePath)
18961896
completion(stdout, stderr)

0 commit comments

Comments
 (0)