File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ public void CanCustomizeTheNamespaceOfBackedUpRefs(string backupRefsNamespace)
400400
401401 AssertSucceedingButNotError ( ) ;
402402
403- Assert . DoesNotContain ( repo . Refs , x => x . CanonicalName . StartsWith ( "refs/original" ) ) ;
403+ Assert . Contains ( repo . Refs , x => x . CanonicalName . StartsWith ( "refs/original" ) ) ;
404404
405405 Assert . DoesNotContain ( repo . Refs , x => x . CanonicalName . StartsWith ( "refs/rewritten" ) ) ;
406406
@@ -415,7 +415,7 @@ public void CanCustomizeTheNamespaceOfBackedUpRefs(string backupRefsNamespace)
415415
416416 AssertSucceedingButNotError ( ) ;
417417
418- Assert . DoesNotContain ( repo . Refs , x => x . CanonicalName . StartsWith ( "refs/rewritten" ) ) ;
418+ Assert . Contains ( repo . Refs , x => x . CanonicalName . StartsWith ( "refs/rewritten" ) ) ;
419419 }
420420
421421 [ Fact ]
@@ -491,7 +491,7 @@ public void DoesNotRewriteRefsThatDontChange()
491491 // Ensure br2 is still a merge commit
492492 var parents = repo . Branches [ "br2" ] . Tip . Parents . ToList ( ) ;
493493 Assert . Equal ( 2 , parents . Count ( ) ) ;
494- Assert . DoesNotContain ( parents , c => c . Sha . StartsWith ( "9fd738e" ) ) ;
494+ Assert . Contains ( parents , c => c . Sha . StartsWith ( "9fd738e" ) ) ;
495495 Assert . Equal ( "abc" , parents . Single ( c => ! c . Sha . StartsWith ( "9fd738e" ) ) . Message ) ;
496496 }
497497
You can’t perform that action at this time.
0 commit comments