Update Sourcery template and tests

This commit is contained in:
Marcelo Fabri
2017-06-13 16:18:07 +02:00
parent fd231b607d
commit 64585a5845
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -6,6 +6,6 @@
// Copyright © 2015 Realm. All rights reserved.
//
public let masterRuleList = RuleList(rules:
public let masterRuleList = RuleList(rules: [
{% for rule in types.structs where rule.name|hasSuffix:"Rule" or rule.name|hasSuffix:"Rules" %} {{ rule.name }}.self{% if not forloop.last %},{% endif %}
{% endfor %})
{% endfor %}])
+1
View File
@@ -360,6 +360,7 @@ extension RulesTests {
("testUnusedClosureParameter", testUnusedClosureParameter),
("testUnusedEnumerated", testUnusedEnumerated),
("testValidIBInspectable", testValidIBInspectable),
("testVerticalParameterAlignmentOnCall", testVerticalParameterAlignmentOnCall),
("testVerticalParameterAlignment", testVerticalParameterAlignment),
("testVoidReturn", testVoidReturn),
("testSuperCall", testSuperCall),