Skip to content

Commit

Permalink
Add end to end for custom type arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardiman committed Apr 26, 2019
1 parent df24cf4 commit 4e10f39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Tests/ConfigTests/ConfigurationFileTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ class ConfigurationFileTests: XCTestCase {
// swiftlint:disable force_unwrapping type_body_length file_length superfluous_disable_command
public enum Test {
public static let arrayProperty: [CustomType] = [CustomType(param: #"Value"#)]
public static let property: CustomType = CustomType(param: #"Value"#)
public static let schemeName: String = #"any"#
Expand Down Expand Up @@ -437,6 +439,14 @@ private let configurationWithCustomType: [String: Any] = [
"defaultValue": [
"param": "Value"
]
],
"arrayProperty": [
"type": "[CustomType]",
"defaultValue": [
[
"param": "Value"
]
]
]
]

Expand Down

0 comments on commit 4e10f39

Please sign in to comment.