Skip to content

Commit aa7fed0

Browse files
tzxdtcyonaskolb
andauthored
Fix typo in 'addtional' (#1328)
* fix typo * rename to included_additional.yml * remove one * fix typo * Update Tests/ProjectSpecTests/SpecLoadingTests.swift --------- Co-authored-by: Yonas Kolb <[email protected]>
1 parent 39739b4 commit aa7fed0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Tests/Fixtures/include_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include:
22
- included.yml
3-
- path: included_addtional.yml
4-
enable: ${INCLUDE_ADDTIONAL_YAML}
3+
- path: included_additional.yml
4+
enable: ${INCLUDE_ADDITIONAL_YAML}
55
packages:
66
Yams:
77
url: https://github.com/jpsim/Yams
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Included_Addtional
1+
name: Included_Additional
22
settingGroups:
33
test:
4-
MY_SETTING5: ADDTIONAL
4+
MY_SETTING5: ADDITIONAL
55
packages:
66
SwiftPM:
77
url: https://github.com/apple/swift-package-manager

Tests/ProjectSpecTests/SpecLoadingTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ class SpecLoadingTests: XCTestCase {
4343
]
4444
}
4545

46-
$0.it("merges includes with addtional one") {
46+
$0.it("merges includes with additional") {
4747
let path = fixturePath + "include_test.yml"
48-
let project = try loadSpec(path: path, variables: ["INCLUDE_ADDTIONAL_YAML": "YES"])
48+
let project = try loadSpec(path: path, variables: ["INCLUDE_ADDITIONAL_YAML": "YES"])
4949

5050
try expect(project.name) == "NewName"
5151
try expect(project.settingGroups) == [
52-
"test": Settings(dictionary: ["MY_SETTING1": "NEW VALUE", "MY_SETTING2": "VALUE2", "MY_SETTING3": "VALUE3", "MY_SETTING4": "${SETTING4}", "MY_SETTING5": "ADDTIONAL"]),
52+
"test": Settings(dictionary: ["MY_SETTING1": "NEW VALUE", "MY_SETTING2": "VALUE2", "MY_SETTING3": "VALUE3", "MY_SETTING4": "${SETTING4}", "MY_SETTING5": "ADDITIONAL"]),
5353
"new": Settings(dictionary: ["MY_SETTING": "VALUE"]),
5454
"toReplace": Settings(dictionary: ["MY_SETTING2": "VALUE2"]),
5555
]
@@ -59,9 +59,9 @@ class SpecLoadingTests: XCTestCase {
5959
]
6060
}
6161

62-
$0.it("merges includes without addtional one by environemnt variable") {
62+
$0.it("merges includes without additional by environment variable") {
6363
let path = fixturePath + "include_test.yml"
64-
let project = try loadSpec(path: path, variables: ["INCLUDE_ADDTIONAL_YAML": "NO"])
64+
let project = try loadSpec(path: path, variables: ["INCLUDE_ADDITIONAL_YAML": "NO"])
6565

6666
try expect(project.name) == "NewName"
6767
try expect(project.settingGroups) == [

0 commit comments

Comments
 (0)