mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -8,7 +8,7 @@ pub struct StructB {
|
|||
fn test_json_i32() {
|
||||
struct_b := json.decode(StructB, '{"kind": "Int32", "value": 100}')!
|
||||
assert struct_b == StructB{
|
||||
kind: 'Int32'
|
||||
kind: 'Int32'
|
||||
value: 100
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue