fix: fill with reference

This commit is contained in:
Shibo Lyu 2024-12-29 23:13:00 +08:00
parent 587e0558e9
commit 46a647441b
3 changed files with 14 additions and 14 deletions

View file

@ -91,6 +91,7 @@ Deno.test("section", async (t) => {
applyChange({ x: 0, y: 0, ch: "t" }, section);
assertEquals(section.ch[0], ["t", " ", " ", " "]);
assertEquals(section.ch[1], [" ", " ", " ", " "]);
assertEquals(section.width[0], [1, 1, 1, 1]);
});