Skip to content

Commit fd7d786

Browse files
committed
test: use assert_eq! (satisfies newer clippy's assert-equality lint)
1 parent 51c646a commit fd7d786

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ fn checkout_amend_preserves_id_and_rebases_the_rest() {
16141614

16151615
// Checkout the first commit by its Stable-Commit-Id and amend it.
16161616
queue(dir).args(["checkout", &id1]).assert().success();
1617-
assert!(git_out(dir, &["rev-parse", "--abbrev-ref", "HEAD"]) == "HEAD");
1617+
assert_eq!(git_out(dir, &["rev-parse", "--abbrev-ref", "HEAD"]), "HEAD");
16181618
std::fs::write(dir.join("f1.txt"), "v2\n").unwrap();
16191619
git(dir, &["add", "f1.txt"]);
16201620
git(dir, &["commit", "-q", "--amend", "--no-edit"]);

0 commit comments

Comments
 (0)