Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Jan 18, 2024
1 parent 9f8a55c commit cb89574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/tests/test_comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn check_comments_lifecycle(comments_str: &str, args: Vec<&str>) {
}

// Test getting a comment by id to check the content matches
let test_comment = annotated_comments.get(0).unwrap().comment.clone();
let test_comment = annotated_comments.first().unwrap().comment.clone();
let output = cli.run([
"get",
"comment",
Expand All @@ -111,7 +111,7 @@ fn check_comments_lifecycle(comments_str: &str, args: Vec<&str>) {
"delete",
"comments",
&format!("--source={}", source.identifier()),
&annotated_comments.get(0).unwrap().comment.id.0,
&annotated_comments.first().unwrap().comment.id.0,
]);
assert!(output.is_empty());

Expand Down

0 comments on commit cb89574

Please sign in to comment.