@@ -171,7 +171,7 @@ class InitTests: XCTestCase {
171
171
XCTAssertMatch ( manifestContents, . and( . contains( " .plugin( " ) , . contains( " targets: [ \" MyCommandPlugin \" ] " ) ) )
172
172
XCTAssertMatch ( manifestContents, . and( . contains( " .plugin( " ) , . contains( " capability: .command(intent: .custom(verb " ) ) )
173
173
174
- let source = path. appending ( " Plugins " , " MyCommandPlugin " , " plugin .swift" )
174
+ let source = path. appending ( " Plugins " , " MyCommandPlugin.swift " )
175
175
XCTAssertFileExists ( source)
176
176
let sourceContents : String = try localFileSystem. readFileContents ( source)
177
177
XCTAssertMatch ( sourceContents, . contains( " struct MyCommandPlugin: CommandPlugin " ) )
@@ -200,7 +200,7 @@ class InitTests: XCTestCase {
200
200
XCTAssertMatch ( manifestContents, . and( . contains( " .plugin( " ) , . contains( " targets: [ \" MyBuildToolPlugin \" ] " ) ) )
201
201
XCTAssertMatch ( manifestContents, . and( . contains( " .plugin( " ) , . contains( " capability: .buildTool() " ) ) )
202
202
203
- let source = path. appending ( " Plugins " , " MyBuildToolPlugin " , " plugin .swift" )
203
+ let source = path. appending ( " Plugins " , " MyBuildToolPlugin.swift " )
204
204
XCTAssertFileExists ( source)
205
205
let sourceContents : String = try localFileSystem. readFileContents ( source)
206
206
XCTAssertMatch ( sourceContents, . contains( " struct MyBuildToolPlugin: BuildToolPlugin " ) )
0 commit comments