Skip to content

Commit

Permalink
Add false negative example to ConditionalBindingCascadeRule
Browse files Browse the repository at this point in the history
from #617
  • Loading branch information
norio-nomura committed Apr 15, 2016
1 parent ad541b6 commit 8055cb8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public struct ConditionalBindingCascadeRule: ConfigurationProviderRule {
"if let a = b, let c = d \n {",
"if \n let a = b, let c = d {",
"if let a = b, c = d.indexOf({$0 == e}), let f = g {",
"guard let a = b, let c = d else {"
"guard let a = b, let c = d else {",
"if let a = a, b = b {\ndebugPrint(\"\")\n}\nif let c = a, let d = b {\n}",
]
)

Expand Down

0 comments on commit 8055cb8

Please sign in to comment.