Commit 11f1629
authored
[Examples] Stop linking transitive dependencies in tests (#487)
### Motivation
In Swift 5.9.2, a bug is fixed that forced us to previously explicitly
link transitive dependencies in tests. So let's remove it, and also bump
the swift-tools-version of the affected projects to 5.9.2 to make it
explicit.
### Modifications
Removed the explicit linkage, bumped the swift-tools-version.
### Result
Examples show the best practices using the latest tools.
### Test Plan
Ran locally using:
```
docker run --rm -it -v $PWD/Examples/hello-world-hummingbird-server-example:/app swift:5.9 swift test --package-path /app
```
Failed with 5.9.1. Passed with 5.9.2 (and 5.9, which is now an alias for
5.9.2).1 parent c0402fe commit 11f1629
File tree
3 files changed
+6
-30
lines changed- Examples
- hello-world-hummingbird-server-example
- hello-world-vapor-server-example
- various-content-types-server-example
3 files changed
+6
-30
lines changedLines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
44 | 36 | | |
45 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
44 | 36 | | |
45 | 37 | | |
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
44 | 36 | | |
45 | 37 | | |
0 commit comments