Skip to content

Commit

Permalink
Fix some extra clippy offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
fcsonline committed Dec 21, 2022
1 parent a00b30c commit f7627bf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/expandable/include.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mod tests {

expand("example/benchmark.yml", doc, &mut benchmark, &Tags::new(None, None));

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 2);
}

Expand Down
6 changes: 3 additions & 3 deletions src/expandable/multi_csv_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mod tests {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 2);
}

Expand All @@ -75,7 +75,7 @@ mod tests {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 2);
}

Expand All @@ -88,7 +88,7 @@ mod tests {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 1);
}

Expand Down
6 changes: 3 additions & 3 deletions src/expandable/multi_file_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mod test {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 3);
}

Expand All @@ -69,7 +69,7 @@ mod test {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 2);
}

Expand All @@ -82,7 +82,7 @@ mod test {

expand("example/benchmark.yml", doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 1);
}
}
2 changes: 1 addition & 1 deletion src/expandable/multi_iter_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mod tests {

expand(doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 10);
}

Expand Down
6 changes: 3 additions & 3 deletions src/expandable/multi_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mod tests {

expand(doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 3);
}

Expand All @@ -63,7 +63,7 @@ mod tests {

expand(doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 2);
}

Expand All @@ -76,7 +76,7 @@ mod tests {

expand(doc, &mut benchmark);

assert_eq!(is_that_you(doc), true);
assert!(is_that_you(doc));
assert_eq!(benchmark.len(), 1);
}

Expand Down

0 comments on commit f7627bf

Please sign in to comment.