forked from mirrors/jj
revset: fix email matching tests
The comments say “Can find a unique match by either name or email”, but these weren’t checking for an email match.
This commit is contained in:
parent
0802a1502b
commit
3567cba8c9
1 changed files with 2 additions and 2 deletions
|
@ -2395,7 +2395,7 @@ fn test_evaluate_expression_author() {
|
|||
vec![commit2.id().clone()]
|
||||
);
|
||||
assert_eq!(
|
||||
resolve_commit_ids(mut_repo, "author(\"name3\")"),
|
||||
resolve_commit_ids(mut_repo, "author(\"email3\")"),
|
||||
vec![commit3.id().clone()]
|
||||
);
|
||||
// Searches only among candidates if specified
|
||||
|
@ -2536,7 +2536,7 @@ fn test_evaluate_expression_committer() {
|
|||
vec![commit2.id().clone()]
|
||||
);
|
||||
assert_eq!(
|
||||
resolve_commit_ids(mut_repo, "committer(\"name3\")"),
|
||||
resolve_commit_ids(mut_repo, "committer(\"email3\")"),
|
||||
vec![commit3.id().clone()]
|
||||
);
|
||||
// Searches only among candidates if specified
|
||||
|
|
Loading…
Reference in a new issue