#15774 closed defect (fixed)
Unit test, text.html, looks for wrong line-ending
Reported by: | jonathansampson | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | Loader | Version: | 1.7.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The test located in tests\_base\loader\requirejs\text\text.html
fails due to the assumption that only the \r
line-ending is present in the variable actual
.
t.is(expected, actual.replace(/\n/g, ""));
Including other line-endings for safety resolves this failure:
t.is(expected, actual.replace(/(\r\n|\r|\n)/g, ""));
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Corrected text file.