From: Ian Jackson Date: Fri, 9 Jul 2021 18:01:11 +0000 (+0100) Subject: jstest: lower: implement a test, restyle X-Git-Tag: otter-0.7.2~198 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a7f5e51f42abfd35710bbcb139cd4e2548dce540;p=otter.git jstest: lower: implement a test, restyle Signed-off-by: Ian Jackson --- diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index 856308c3..cf8072b2 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -154,9 +154,9 @@ impl Test { // no non-bottom non-targets moved { for n in &new { - if n.target { continue } - if n.bottom { continue } - assert!( ! n.updated, "{:?}", n ); + if ! n.bottom && ! n.target { + assert!( ! n.updated, "{:?}", n ); + } } }