Commit bd054ef
authored
feat/scalar line breaks (#124)
* tests: adds a unit test for line breaks in scalars
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
* perf: removes redundant call to char array
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
* fix: scalars now maintain line returns
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
fix: allow literals to be on multiple lines
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
---------
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>1 parent c90fe44 commit bd054ef
File tree
3 files changed
+82
-4
lines changed- src
- SharpYaml.Tests
- SharpYaml
- Serialization/Serializers
3 files changed
+82
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
309 | 351 | | |
310 | 352 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
557 | 571 | | |
558 | 572 | | |
559 | 573 | | |
| |||
1520 | 1534 | | |
1521 | 1535 | | |
1522 | 1536 | | |
1523 | | - | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
1524 | 1541 | | |
1525 | 1542 | | |
1526 | 1543 | | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
1527 | 1556 | | |
1528 | 1557 | | |
1529 | 1558 | | |
| |||
1532 | 1561 | | |
1533 | 1562 | | |
1534 | 1563 | | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
1535 | 1571 | | |
1536 | 1572 | | |
1537 | 1573 | | |
| |||
1545 | 1581 | | |
1546 | 1582 | | |
1547 | 1583 | | |
1548 | | - | |
| 1584 | + | |
1549 | 1585 | | |
1550 | 1586 | | |
1551 | 1587 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments