Skip to content

Commit 79ecd1d

Browse files
style(clippy): replace useless vec! with array literals in ado/mod.rs (#672)
1 parent e91ec40 commit 79ecd1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ado/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ mod tests {
14661466

14671467
#[test]
14681468
fn test_yaml_path_match_finds_definition_by_yaml_filename() {
1469-
let defs = vec![
1469+
let defs = [
14701470
make_def(1, "Unrelated Pipeline"),
14711471
make_def_with_yaml(2, "My Agent", "/.azdo/pipelines/agent.yml"),
14721472
make_def(3, "Another Pipeline"),
@@ -1484,7 +1484,7 @@ mod tests {
14841484

14851485
#[test]
14861486
fn test_yaml_path_match_no_match_when_process_is_none() {
1487-
let defs = vec![
1487+
let defs = [
14881488
make_def(1, "Classic Pipeline"),
14891489
make_def(2, "Another Classic"),
14901490
];

0 commit comments

Comments
 (0)