From 3b27520d8c2a80f83ddd312340915480df5dc1ac Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Jul 2021 19:56:31 +0100 Subject: [PATCH] jstest: lower: Note a rune for checking the sort invariant Signed-off-by: Ian Jackson --- jstest/jst-lower.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index 19982753..26a24baf 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -2,6 +2,8 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. +// (function(){ let s = pieces_marker; let last_z=""; for (;;) { s = s.nextElementSibling; if (s == defs_marker) break; let piece = s.dataset.piece; let z = pieces[piece].z; console.log(piece, z, z >= last_z); last_z = z;} })(); + use otter_nodejs_tests::*; pub type Vpid = VisiblePieceId; -- 2.30.2