Skip to content

Commit 006d5bb

Browse files
authored
Merge pull request #112 from bitjammer/acgarland/rdar-105882313-update-init-tests-5.8
Update swift package init tests for 5.8
2 parents 3c849d0 + 97ed0fa commit 006d5bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

swift-package-init-exec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
RUN: rm -rf %t.dir
77
RUN: mkdir -p %t.dir/Project
88
RUN: %{swift-package} --package-path %t.dir/Project init --type executable
9-
RUN: rm -rf %t.dir/Project/Sources/Project/*
10-
RUN: echo "print(\"Hello, World!\")" >%t.dir/Project/Sources/Project/main.swift
9+
RUN: rm -rf %t.dir/Project/Sources/*
10+
RUN: echo "print(\"Hello, World!\")" >%t.dir/Project/Sources/main.swift
1111
RUN: %{swift-build} --package-path %t.dir/Project 2>&1 | tee %t.build-log
1212
```
1313

swift-run.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
RUN: rm -rf %t.dir
77
RUN: mkdir -p %t.dir/secho
88
RUN: %{swift-package} --package-path %t.dir/secho init --type executable
9-
RUN: rm -rf %t.dir/secho/Sources/secho/*
10-
RUN: echo "import Foundation; print(CommandLine.arguments.dropFirst().joined(separator: \" \"))" >%t.dir/secho/Sources/secho/main.swift
9+
RUN: rm -rf %t.dir/secho/Sources/*
10+
RUN: echo "import Foundation; print(CommandLine.arguments.dropFirst().joined(separator: \" \"))" >%t.dir/secho/Sources/main.swift
1111
RUN: %{swift-run} --package-path %t.dir/secho secho 1 "two" 2>&1 | tee %t.run-log
1212
```
1313

0 commit comments

Comments
 (0)