Commit 76d2d53
committed
fix(revealjs): normalize EOL in vendored-asset drift test
The test byte-compared the include_str!-embedded reveal assets against
the npm dist copy. On a Windows checkout, core.autocrlf rewrites the
committed-LF vendored files to CRLF on disk, so the embedded bytes gain
CRLF while the npm copy stays LF -- a false mismatch on line endings
alone. These assets are served verbatim and CRLF vs LF is irrelevant to
browsers; the test's job is to catch content drift when reveal.js is
bumped, not line endings. Normalize both sides before comparing so only
real drift fails.1 parent 37f249c commit 76d2d53
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
559 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
560 | 562 | | |
561 | 563 | | |
562 | 564 | | |
| |||
569 | 571 | | |
570 | 572 | | |
571 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
572 | 581 | | |
573 | 582 | | |
574 | 583 | | |
575 | 584 | | |
576 | 585 | | |
577 | | - | |
| 586 | + | |
| 587 | + | |
578 | 588 | | |
579 | 589 | | |
580 | 590 | | |
| |||
0 commit comments