chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f56b52
)
jstest: lower: implement a test, restyle
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 18:01:11 +0000
(19:01 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Jul 2021 18:01:27 +0000
(19:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
jstest/jst-lower.rs
patch
|
blob
|
history
diff --git
a/jstest/jst-lower.rs
b/jstest/jst-lower.rs
index 856308c316a0facf7277e0e40ff0d1572dade9f0..cf8072b2c3f0a84f2f597040aadfbb2fc9ef6355 100644
(file)
--- 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 );
+ }
}
}