Skip to content

Commit

Permalink
Update Sourcery template and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofabri committed Jun 13, 2017
1 parent fd231b6 commit 64585a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .sourcery/MasterRuleList.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ extension RulesTests {
("testUnusedClosureParameter", testUnusedClosureParameter),
("testUnusedEnumerated", testUnusedEnumerated),
("testValidIBInspectable", testValidIBInspectable),
("testVerticalParameterAlignmentOnCall", testVerticalParameterAlignmentOnCall),
("testVerticalParameterAlignment", testVerticalParameterAlignment),
("testVoidReturn", testVoidReturn),
("testSuperCall", testSuperCall),
Expand Down

0 comments on commit 64585a5

Please sign in to comment.