We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455a72e commit d29932dCopy full SHA for d29932d
git-worktree/tests/worktree/fs/cache.rs
@@ -200,7 +200,8 @@ mod ignore_and_attributes {
200
(None, None) => {
201
assert!(!is_excluded);
202
}
203
- (Some(m), Some((source_file, line, _pattern))) => {
+ (Some(m), Some((source_file, line, pattern))) => {
204
+ assert_eq!(m.pattern.to_string(), pattern);
205
assert_eq!(m.sequence_number, line);
206
// Paths read from the index are relative to the repo, and they don't exist locally due tot skip-worktree
207
if m.source.map_or(false, |p| p.exists()) {
0 commit comments