Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
sort test files by file_name
Browse files Browse the repository at this point in the history
  • Loading branch information
zemse committed Feb 19, 2024
1 parent d8c85e9 commit 44358d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zkevm-circuits/src/mpt_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ pub fn load_proof_from_file(path: &str) -> Vec<Node> {
mod tests {
use super::*;
use halo2_proofs::{dev::MockProver, halo2curves::bn256::Fr};
use itertools::Itertools;
use std::{fs, ops::Deref, path::PathBuf};

#[test]
Expand Down Expand Up @@ -808,6 +809,7 @@ mod tests {
false
}
})
.sorted_by(|a, b| a.file_name().cmp(&b.file_name()))
.map(|f| {
let path = f.path();
let mut parts = path.to_str().unwrap().split('-');
Expand Down

0 comments on commit 44358d8

Please sign in to comment.