This commit is contained in:
Christian Treffs 2020-08-06 10:52:52 +02:00
parent b662565a79
commit 3881a2c66a
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 1 additions and 2 deletions

View File

@ -167,7 +167,6 @@ final class Family{{ idx }}Tests: XCTestCase {
} }
{% endfor %} {% endfor %}
// MARK: - Components // MARK: - Components
{% for idx in 1...8 %} {% for idx in 1...8 %}
final class Comp{{ idx }}: Component { final class Comp{{ idx }}: Component {
@ -178,7 +177,7 @@ extension Comp{{ idx }}: Equatable {
static func == (lhs: Comp{{ idx }}, rhs: Comp{{ idx }}) -> Bool { static func == (lhs: Comp{{ idx }}, rhs: Comp{{ idx }}) -> Bool {
lhs === rhs && lhs.value == rhs.value lhs === rhs && lhs.value == rhs.value
} }
} }
extension Comp{{ idx }}: Codable { } extension Comp{{ idx }}: Codable { }
{% endfor %} {% endfor %}