mirror of
https://github.com/uutils/coreutils
synced 2024-12-04 18:39:52 +00:00
rustfmt the expr fuzzer
This commit is contained in:
parent
fb0c904b07
commit
39b6059910
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue