Skip to content

Commit 9920e3b

Browse files
committed
Tests: Rename CommandPluginDiagrosticsStub to be a generic test fixture
1 parent 95397a9 commit 9920e3b

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
@@ -1886,7 +1886,7 @@ final class PackageToolTests: CommandsTestCase {
18861886
let containsWarning = StringPattern.contains("command plugin: Diagnostics.warning")
18871887
let containsError = StringPattern.contains("command plugin: Diagnostics.error")
18881888

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

0 commit comments

Comments
 (0)