mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
rustfmt the expr fuzzer
This commit is contained in:
@@ -22,7 +22,8 @@ static CMD_PATH: &str = "expr";
|
||||
fn generate_expr(max_depth: u32) -> String {
|
||||
let mut rng = rand::thread_rng();
|
||||
let ops = [
|
||||
"+", "-", "*", "/", "%", "<", ">", "=", "&", "|", "!=", "<=", ">=", ":", "index", "length", "substr",
|
||||
"+", "-", "*", "/", "%", "<", ">", "=", "&", "|", "!=", "<=", ">=", ":", "index", "length",
|
||||
"substr",
|
||||
];
|
||||
|
||||
let mut expr = String::new();
|
||||
|
||||
Reference in New Issue
Block a user