Skip to content

Commit 6fd6b13

Browse files
committed
spelling: unwrapped
Signed-off-by: Josh Soref <[email protected]>
1 parent 925a7b9 commit 6fd6b13

16 files changed

+80
-80
lines changed

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L108-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L118-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L128-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L20-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ func checkCaseCondition() {
5858
}
5959

6060
func checkOptionalBindingCondition(optional: String?) {
61-
if let unwraped = optional {
62-
print(unwraped)
61+
if let unwrapped = optional {
62+
print(unwrapped)
6363
}
6464

65-
if var unwraped = optional {
66-
unwraped += "!"
67-
print(unwraped)
65+
if var unwrapped = optional {
66+
unwrapped += "!"
67+
print(unwrapped)
6868
}
6969
}
7070

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L29-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ func checkCaseCondition() {
6060
}
6161

6262
func checkOptionalBindingCondition(optional: String?) {
63-
if let unwraped = optional {
64-
print(unwraped)
63+
if let unwrapped = optional {
64+
print(unwrapped)
6565
}
6666

67-
if var unwraped = optional {
68-
unwraped += "!"
69-
print(unwraped)
67+
if var unwrapped = optional {
68+
unwrapped += "!"
69+
print(unwrapped)
7070
}
7171
}
7272

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L39-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ func checkCaseCondition() {
5858
}
5959

6060
func checkOptionalBindingCondition(optional: String?) {
61-
if let unwraped = optional {
62-
print(unwraped)
61+
if let unwrapped = optional {
62+
print(unwrapped)
6363
}
6464

65-
if var unwraped = optional {
66-
unwraped += "!"
67-
print(unwraped)
65+
if var unwrapped = optional {
66+
unwrapped += "!"
67+
print(unwrapped)
6868
}
6969
}
7070

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L50-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ break
6060
}
6161

6262
func checkOptionalBindingCondition(optional: String?) {
63-
if let unwraped = optional {
64-
print(unwraped)
63+
if let unwrapped = optional {
64+
print(unwrapped)
6565
}
6666

67-
if var unwraped = optional {
68-
unwraped += "!"
69-
print(unwraped)
67+
if var unwrapped = optional {
68+
unwrapped += "!"
69+
print(unwrapped)
7070
}
7171
}
7272

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L54-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ break
6060
}
6161

6262
func checkOptionalBindingCondition(optional: String?) {
63-
if let unwraped = optional {
64-
print(unwraped)
63+
if let unwrapped = optional {
64+
print(unwrapped)
6565
}
6666

67-
if var unwraped = optional {
68-
unwraped += "!"
69-
print(unwraped)
67+
if var unwrapped = optional {
68+
unwrapped += "!"
69+
print(unwrapped)
7070
}
7171
}
7272

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L60-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ func checkCaseCondition() {
5858

5959
func checkOptionalBindingCondition(optional: String?) {
6060
switch optional {
61-
case let unwraped?:
62-
print(unwraped)
61+
case let unwrapped?:
62+
print(unwrapped)
6363
default:
6464
break
6565
}
6666

67-
if var unwraped = optional {
68-
unwraped += "!"
69-
print(unwraped)
67+
if var unwrapped = optional {
68+
unwrapped += "!"
69+
print(unwrapped)
7070
}
7171
}
7272

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L64-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

6464
switch optional {
65-
case var unwraped?:
66-
unwraped += "!"
67-
print(unwraped)
65+
case var unwrapped?:
66+
unwrapped += "!"
67+
print(unwrapped)
6868
default:
6969
break
7070
}

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L71-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L82-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L9-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/Outputs/basic/L99-3.swift.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/ConvertToSwitchStmt/basic.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func checkCaseCondition() {
5757
}
5858

5959
func checkOptionalBindingCondition(optional: String?) {
60-
if let unwraped = optional {
61-
print(unwraped)
60+
if let unwrapped = optional {
61+
print(unwrapped)
6262
}
6363

64-
if var unwraped = optional {
65-
unwraped += "!"
66-
print(unwraped)
64+
if var unwrapped = optional {
65+
unwrapped += "!"
66+
print(unwrapped)
6767
}
6868
}
6969

test/refactoring/RefactoringKind/convert_to_switch_statement.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ func checkCaseCondition() {
6363
}
6464

6565
func checkOptionalBindingCondition(optional: String?) {
66-
if let unwraped = optional {
67-
print(unwraped)
66+
if let unwrapped = optional {
67+
print(unwrapped)
6868
}
6969

70-
if var unwraped = optional {
71-
unwraped += "!"
72-
print(unwraped)
70+
if var unwrapped = optional {
71+
unwrapped += "!"
72+
print(unwrapped)
7373
}
7474
}
7575

0 commit comments

Comments
 (0)