From: Ian Jackson Date: Fri, 9 Jul 2021 18:56:31 +0000 (+0100) Subject: jstest: lower: Note a rune for checking the sort invariant X-Git-Tag: otter-0.7.2~190 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3b27520d8c2a80f83ddd312340915480df5dc1ac;p=otter.git jstest: lower: Note a rune for checking the sort invariant Signed-off-by: Ian Jackson --- 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;