Skip to content

Commit

Permalink
Fixed long lines in std/json.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent 8cd9796 commit 7a62d7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions std/json.d
Expand Up @@ -989,7 +989,8 @@ if (isInputRange!T)
else
value.store.uinteger = parse!ulong(data);

value.type_tag = !isNegative && value.store.uinteger & (1UL << 63) ? JSON_TYPE.UINTEGER : JSON_TYPE.INTEGER;
value.type_tag = !isNegative && value.store.uinteger & (1UL << 63) ?
JSON_TYPE.UINTEGER : JSON_TYPE.INTEGER;
}
break;

Expand Down Expand Up @@ -1507,7 +1508,8 @@ unittest
`[12,"foo",true,false]`,
`{}`,
`{"a":1,"b":null}`,
`{"goodbye":[true,"or",false,["test",42,{"nested":{"a":23.54,"b":0.0012}}]],"hello":{"array":[12,null,{}],"json":"is great"}}`,
`{"goodbye":[true,"or",false,["test",42,{"nested":{"a":23.54,"b":0.0012}}]],`
~`"hello":{"array":[12,null,{}],"json":"is great"}}`,
];

version (MinGW)
Expand Down

0 comments on commit 7a62d7c

Please sign in to comment.