Skip to content

Commit 5bbb948

Browse files
committed
spelling: capture
Signed-off-by: Josh Soref <[email protected]>
1 parent f66d9bd commit 5bbb948

12 files changed

+12
-12
lines changed

test/refactoring/rename/Outputs/local/captured_variable.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariableRenamed = 0
5252

5353
_ = { [capturedVariableRenamed] in

test/refactoring/rename/Outputs/local/casebind_1.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/casebind_2.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/catch_1.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/catch_2.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/ifbind_1.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/ifbind_2.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/localvar_1.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/localvar_2.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ x: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

test/refactoring/rename/Outputs/local/param_1.swift.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func test5(_ xRenamed: Int) {
4747
print(x)
4848
}
4949

50-
func testCaputreVariable() {
50+
func testCaptureVariable() {
5151
let capturedVariable = 0
5252

5353
_ = { [capturedVariable] in

0 commit comments

Comments
 (0)