File tree 2 files changed +0
-34
lines changed
Sources/XcodeGraph/Models
Tests/XcodeGraphTests/Models
2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -145,18 +145,6 @@ extension [BuildConfiguration: Configuration?] {
145
145
}
146
146
}
147
147
148
- extension [ String : SettingValue ] {
149
- public func toAny( ) -> [ String : Any ] {
150
- mapValues { value in
151
- switch value {
152
- case let . array( array) :
153
- return array
154
- case let . string( string) :
155
- return string
156
- }
157
- }
158
- }
159
- }
160
148
161
149
#if DEBUG
162
150
extension Configuration {
Original file line number Diff line number Diff line change @@ -153,25 +153,3 @@ final class SettingsTests: XCTestCase {
153
153
Configuration ( settings: [ : ] , xcconfig: nil )
154
154
}
155
155
}
156
-
157
- final class DictionaryStringSettingValueExtensionTests : XCTestCase {
158
- func testToAny( ) {
159
- // Given
160
- let buildConfig : [ String : SettingValue ] = [
161
- " A " : [ " A_VALUE_1 " , " A_VALUE_2 " ] ,
162
- " B " : " B_VALUE " ,
163
- " C " : [ " C_VALUE " ] ,
164
- ]
165
- let expected : [ String : Any ] = [
166
- " A " : [ " A_VALUE_1 " , " A_VALUE_2 " ] ,
167
- " B " : " B_VALUE " ,
168
- " C " : [ " C_VALUE " ] ,
169
- ]
170
-
171
- // When
172
- let got = buildConfig. toAny ( )
173
-
174
- // Then
175
- XCTAssertEqualDictionaries ( got, expected)
176
- }
177
- }
You can’t perform that action at this time.
0 commit comments