Format records in type inference tests a bit
This commit is contained in:
parent
2dae494fc2
commit
8200a0095f
1 changed files with 10 additions and 2 deletions
|
@ -6,8 +6,16 @@ struct Person.
|
|||
email: String
|
||||
age: Int
|
||||
|
||||
let bert = Person { email = "bar@boo.com", age = 32 }
|
||||
let bob = Person { email = "boo", age = 43 }
|
||||
let bert
|
||||
= Person {
|
||||
email = "bar@boo.com",
|
||||
age = 32
|
||||
}
|
||||
let bob
|
||||
= Person {
|
||||
email = "boo",
|
||||
age = 43
|
||||
}
|
||||
|
||||
bert == bob
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue