11/*
22 This source file is part of the Swift.org open source project
33
4- Copyright (c) 2022 Apple Inc. and the Swift project authors
4+ Copyright (c) 2022-2025 Apple Inc. and the Swift project authors
55 Licensed under Apache License v2.0 with Runtime Library Exception
66
77 See https://swift.org/LICENSE.txt for license information
@@ -109,7 +109,6 @@ class NearMissTests: XCTestCase {
109109 " init(help:) " ,
110110 " init(exclusivity:help:) " ,
111111 " init(wrappedValue:exclusivity:help:) " ,
112- " init(wrappedValue:help:) " ,
113112 // Infrequently Used APIs
114113 " init(from:) " ,
115114 " wrappedValue " ,
@@ -122,13 +121,12 @@ class NearMissTests: XCTestCase {
122121 checkBestMatches ( for: flagSubpaths, against: " wrappedValue " , expectedMatches: [
123122 // These need to be in the best matches in this order.
124123 " wrappedValue " ,
125- " init(wrappedValue:help:) " ,
126- " init(wrappedValue:name:help:) " ,
127- " init(wrappedValue:exclusivity:help:) " ,
128124 ] , acceptedMatches: [
129125 // These don't need to be in the best matches but it's acceptable if they are.
130126 //
131127 // Most of the string doesn't match but it contains the full 'wrappedValue'.
128+ " init(wrappedValue:name:help:) " ,
129+ " init(wrappedValue:exclusivity:help:) " ,
132130 " init(wrappedValue:name:inversion:exclusivity:help:) " ,
133131 ] )
134132 }
0 commit comments