mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 09:08:11 +00:00
craft-ps test: places stays u32 in the sampled formatter sweep
This commit is contained in:
@@ -607,7 +607,7 @@ mod tests {
|
||||
let (mut integer_path, mut visited) = (0usize, 0usize);
|
||||
let samples = number_samples();
|
||||
for places in 0..=12 {
|
||||
for v in samples.iter().copied().skip(places % step).step_by(step) {
|
||||
for v in samples.iter().copied().skip(places as usize % step).step_by(step) {
|
||||
visited += 1;
|
||||
let mut expected = String::from("x ");
|
||||
base_push_num_places(&mut expected, v, places);
|
||||
|
||||
Reference in New Issue
Block a user