From eeaca34e70bd94968ef3f3d75c605f01ceb65f5a Mon Sep 17 00:00:00 2001 From: Micah Geisel Date: Sun, 19 Jan 2025 10:54:14 -0600 Subject: [PATCH] fixup churn tests. --- test/ops.js | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/test/ops.js b/test/ops.js index 1a1422d..2d4f035 100644 --- a/test/ops.js +++ b/test/ops.js @@ -66,53 +66,53 @@ describe("morphing operations", function () { it.skip("prepending a new softmatchable node onto the beginning", function () { assertOps( - "
", - "
New
", + "
AB
", + "
NewAB
", [ [ "Morphed", - "
", - "
New
", + "
AB
", + "
NewAB
", ], - ["Added", "
New
"], - ["Morphed", "
", "
"], - ["Morphed", "
", "
"], + ["Added", "New"], + ["Morphed", "A", "A"], + ["Morphed", "B", "B"], ], ); }); it.skip("inserting a new softmatchable node into the middle", function () { assertOps( - "
", - "
New
", + "
ABCD
", + "
ABNewCD
", [ [ "Morphed", - "
", - "
New
", + "
ABCD
", + "
ABNewCD
", ], - ["Morphed", "
", "
"], - ["Morphed", "
", "
"], - ["Added", "
New
"], - ["Morphed", "
", "
"], - ["Morphed", "
", "
"], + ["Morphed", "A", "A"], + ["Morphed", "B", "B"], + ["Added", "New"], + ["Morphed", "C", "C"], + ["Morphed", "D", "D"], ], ); }); - it("pushing a new softmatchable node onto the end", function () { + it("appending a new softmatchable node onto the end", function () { assertOps( - "
", - "
New
", + "
AB
", + "
ABNew
", [ [ "Morphed", - "
", - "
New
", + "
AB
", + "
ABNew
", ], - ["Morphed", "
", "
"], - ["Morphed", "
", "
"], - ["Added", "
New
"], + ["Morphed", "A", "A"], + ["Morphed", "B", "B"], + ["Added", "New"], ], ); });