mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 08:55:04 +01:00
reference counting
This commit is contained in:
parent
d9ab81bed1
commit
9ece18a48a
18 changed files with 477 additions and 159 deletions
|
|
@ -5,7 +5,7 @@ it("should extract lines correctly", () => {
|
|||
|
||||
const lineSpans = lines({ content: input });
|
||||
const lineContents = lineSpans.map(({ start, end }) =>
|
||||
input.slice(start, end)
|
||||
input.slice(start, end),
|
||||
);
|
||||
|
||||
expect(lineContents).toStrictEqual(["AAA", "meow", ":3", "", ""]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue