Skip to content

Commit be62dd7

Browse files
authored
Merge pull request #3342 from practicalswift/typo-fixes-20160705
2 parents 4c1e6ac + 0975c8d commit be62dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/1_stdlib/Renames.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func _Arrays<T>(e: T) {
1212
// _ = ContiguousArray(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
1313
// _ = ArraySlice(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
1414
// _ = Array(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
15-
// The acutall error is: {{argument 'repeatedValue' must precede argument 'count'}}
15+
// The actual error is: {{argument 'repeatedValue' must precede argument 'count'}}
1616

1717
var a = ContiguousArray<T>()
1818
_ = a.removeAtIndex(0) // expected-error {{'removeAtIndex' has been renamed to 'remove(at:)'}} {{9-22=remove}} {{23-23=at: }} {{none}}

0 commit comments

Comments
 (0)