mirror of https://github.com/status-im/NimYAML.git
whitespace removal to get rid of 'number of spaces around...'
Since whitespace wasn't aligning all `==` anyways, removal seems fine.
This commit is contained in:
parent
6b429e6571
commit
a211eab2c6
|
@ -400,7 +400,7 @@ suite "Serialization":
|
|||
var result: Person
|
||||
load(input, result)
|
||||
assert result.firstnamechar == 'P'
|
||||
assert result.surname == "Pan"
|
||||
assert result.surname == "Pan"
|
||||
assert result.age == 12
|
||||
|
||||
test "Dump custom object":
|
||||
|
@ -447,8 +447,8 @@ suite "Serialization":
|
|||
var result: Person
|
||||
load(input, result)
|
||||
assert result.firstnamechar == 'P'
|
||||
assert result.surname == "Pan"
|
||||
assert result.age == 12
|
||||
assert result.surname == "Pan"
|
||||
assert result.age == 12
|
||||
|
||||
test "Dump custom object with explicit root tag":
|
||||
let input = Person(firstnamechar: 'P', surname: "Pan", age: 12)
|
||||
|
|
Loading…
Reference in New Issue