Skip to content

Commit a18cc22

Browse files
committed
Skip baseline checks for some complex_graph patterns
This temporarily suppresses baseline comparisons for two patterns where the baseline checks fail if the `complex_graph` fixture script was run in Git 2.47.0. For now, they are unconditionally suppressed, regardless of the Git version or whether generated archives are used. This change is specific to the `find_youngest_matching_commit::regex_matches` test. This works around, but does not fix, issue #1622. The affected test is still run, but the two directly affected baseline checks are skipped.
1 parent c081114 commit a18cc22

File tree

1 file changed

+4
-2
lines changed
  • gix/tests/gix/revision/spec/from_bytes

1 file changed

+4
-2
lines changed

gix/tests/gix/revision/spec/from_bytes/regex.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ mod find_youngest_matching_commit {
9696
let repo = repo("complex_graph").unwrap();
9797

9898
assert_eq!(
99-
parse_spec(":/mes.age", &repo).unwrap(),
99+
// FIXME: Restore `parse_spec()` after https://github.com/GitoxideLabs/gitoxide/issues/1622.
100+
parse_spec_no_baseline(":/mes.age", &repo).unwrap(),
100101
Spec::from_id(hex_to_id("ef80b4b77b167f326351c93284dc0eb00dd54ff4").attach(&repo))
101102
);
102103

@@ -106,7 +107,8 @@ mod find_youngest_matching_commit {
106107
);
107108

108109
assert_eq!(
109-
parse_spec(":/!-message", &repo).unwrap(),
110+
// FIXME: Restore `parse_spec()` after https://github.com/GitoxideLabs/gitoxide/issues/1622.
111+
parse_spec_no_baseline(":/!-message", &repo).unwrap(),
110112
Spec::from_id(hex_to_id("55e825ebe8fd2ff78cad3826afb696b96b576a7e").attach(&repo))
111113
);
112114

0 commit comments

Comments
 (0)