@@ -142,7 +142,7 @@ final class BuildPlanTests: XCTestCase {
142142 " @/path/to/build/debug/exe.product/Objects.LinkFileList " ,
143143 " -Xlinker " , " -rpath " , " -Xlinker " , " /fake/path/lib/swift/macosx " ,
144144 " -target " , " x86_64-apple-macosx10.10 " , " -Xlinker " , " -add_ast_path " ,
145- " -Xlinker " , " /path/to/build/debug/exe.build/exe. swiftmodule " , " -Xlinker " , " -add_ast_path " ,
145+ " -Xlinker " , " /path/to/build/debug/exe.swiftmodule " , " -Xlinker " , " -add_ast_path " ,
146146 " -Xlinker " , " /path/to/build/debug/lib.swiftmodule " ,
147147 ]
148148 #else
@@ -783,7 +783,7 @@ final class BuildPlanTests: XCTestCase {
783783 " @/path/to/build/debug/exe.product/Objects.LinkFileList " ,
784784 " -Xlinker " , " -rpath " , " -Xlinker " , " /fake/path/lib/swift/macosx " ,
785785 " -target " , " x86_64-apple-macosx10.10 " ,
786- " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/exe.build/exe. swiftmodule " ,
786+ " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/exe.swiftmodule " ,
787787 ] )
788788 #else
789789 XCTAssertEqual ( try result. buildProduct ( for: " exe " ) . linkArguments ( ) , [
@@ -993,7 +993,7 @@ final class BuildPlanTests: XCTestCase {
993993 " @/path/to/build/debug/exe.product/Objects.LinkFileList " ,
994994 " -Xlinker " , " -rpath " , " -Xlinker " , " /fake/path/lib/swift/macosx " ,
995995 " -target " , " x86_64-apple-macosx10.10 " ,
996- " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/exe.build/exe. swiftmodule " ,
996+ " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/exe.swiftmodule " ,
997997 ] )
998998 #else
999999 XCTAssertEqual ( try result. buildProduct ( for: " exe " ) . linkArguments ( ) , [
@@ -1091,7 +1091,7 @@ final class BuildPlanTests: XCTestCase {
10911091 " @/path/to/build/debug/Foo.product/Objects.LinkFileList " ,
10921092 " -Xlinker " , " -rpath " , " -Xlinker " , " /fake/path/lib/swift/macosx " ,
10931093 " -target " , " x86_64-apple-macosx10.10 " ,
1094- " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/Foo.build/Foo. swiftmodule "
1094+ " -Xlinker " , " -add_ast_path " , " -Xlinker " , " /path/to/build/debug/Foo.swiftmodule "
10951095 ] )
10961096
10971097 XCTAssertEqual ( barLinkArgs, [
@@ -2340,10 +2340,10 @@ final class BuildPlanTests: XCTestCase {
23402340 XCTAssertMatch ( contents, . contains( """
23412341 " /path/to/build/debug/exe.build/exe.swiftmodule.o " :
23422342 tool: shell
2343- inputs: [ " /path/to/build/debug/exe.build/exe. swiftmodule " ]
2343+ inputs: [ " /path/to/build/debug/exe.swiftmodule " ]
23442344 outputs: [ " /path/to/build/debug/exe.build/exe.swiftmodule.o " ]
23452345 description: " Wrapping AST for exe for debugging "
2346- args: [ " /fake/path/to/swiftc " , " -modulewrap " , " /path/to/build/debug/exe.build/exe. swiftmodule " , " -o " , " /path/to/build/debug/exe.build/exe.swiftmodule.o " , " -target " , " x86_64-unknown-linux-gnu " ]
2346+ args: [ " /fake/path/to/swiftc " , " -modulewrap " , " /path/to/build/debug/exe.swiftmodule " , " -o " , " /path/to/build/debug/exe.build/exe.swiftmodule.o " , " -target " , " x86_64-unknown-linux-gnu " ]
23472347 """ ) )
23482348 XCTAssertMatch ( contents, . contains( """
23492349 " /path/to/build/debug/lib.build/lib.swiftmodule.o " :
0 commit comments