mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 13:41:40 +00:00
update
This commit is contained in:
10
node_modules/@11ty/eleventy/test/TestUtilityTest.js
generated
vendored
Normal file
10
node_modules/@11ty/eleventy/test/TestUtilityTest.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
import test from "ava";
|
||||
import normalizeNewLines from "./Util/normalizeNewLines";
|
||||
|
||||
test("normalizeNewLines", t => {
|
||||
t.is(normalizeNewLines("\n"), "\n");
|
||||
t.is(normalizeNewLines("\r\n"), "\n");
|
||||
t.is(normalizeNewLines("\r\n\n"), "\n\n");
|
||||
t.is(normalizeNewLines("\r\n\r\n"), "\n\n");
|
||||
t.is(normalizeNewLines("a\r\nhello\r\nhi"), "a\nhello\nhi");
|
||||
});
|
Reference in New Issue
Block a user