1
1
/*
2
2
This source file is part of the Swift.org open source project
3
3
4
- Copyright (c) 2022 Apple Inc. and the Swift project authors
4
+ Copyright (c) 2022-2025 Apple Inc. and the Swift project authors
5
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
6
7
7
See https://swift.org/LICENSE.txt for license information
@@ -109,7 +109,6 @@ class NearMissTests: XCTestCase {
109
109
" init(help:) " ,
110
110
" init(exclusivity:help:) " ,
111
111
" init(wrappedValue:exclusivity:help:) " ,
112
- " init(wrappedValue:help:) " ,
113
112
// Infrequently Used APIs
114
113
" init(from:) " ,
115
114
" wrappedValue " ,
@@ -122,13 +121,12 @@ class NearMissTests: XCTestCase {
122
121
checkBestMatches ( for: flagSubpaths, against: " wrappedValue " , expectedMatches: [
123
122
// These need to be in the best matches in this order.
124
123
" wrappedValue " ,
125
- " init(wrappedValue:help:) " ,
126
- " init(wrappedValue:name:help:) " ,
127
- " init(wrappedValue:exclusivity:help:) " ,
128
124
] , acceptedMatches: [
129
125
// These don't need to be in the best matches but it's acceptable if they are.
130
126
//
131
127
// Most of the string doesn't match but it contains the full 'wrappedValue'.
128
+ " init(wrappedValue:name:help:) " ,
129
+ " init(wrappedValue:exclusivity:help:) " ,
132
130
" init(wrappedValue:name:inversion:exclusivity:help:) " ,
133
131
] )
134
132
}
0 commit comments