From: Ian Jackson Date: Sat, 10 Jul 2021 12:22:20 +0000 (+0100) Subject: jst-lower: exhaustive: Make no vpid have 0 as slot num X-Git-Tag: otter-0.7.2~138 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0d175b968afd2dcaaa71bd2b0e55bf1533823239;p=otter.git jst-lower: exhaustive: Make no vpid have 0 as slot num Signed-off-by: Ian Jackson --- diff --git a/jstest/jst-lower.rs b/jstest/jst-lower.rs index 7e2b3f21..2c3b6ecf 100644 --- a/jstest/jst-lower.rs +++ b/jstest/jst-lower.rs @@ -299,7 +299,7 @@ impl TestsAccumulator { #[throws(Explode)] pub fn add_exhaustive(&mut self, n: usize) { let ids: Vec = (0..n).map( - |i| format!("{}.{}", i, n).try_into().unwrap() + |i| format!("{}.{}", i+1, n).try_into().unwrap() ).collect_vec(); let pieces_configs = ids.iter().cloned().map(|id| {