@@ -30,10 +30,10 @@ private DiagnosticMetadata(string message, string helpLink, [CallerMemberName] s
3030 public static DiagnosticMetadata CollectionShouldHaveCountLessThan_CountShouldBeLessThan { get ; } = new ( "Use .Should().HaveCountLessThan()" , GetHelpLink ( "Collections-12" ) ) ;
3131 public static DiagnosticMetadata CollectionShouldHaveCountLessOrEqualTo_CountShouldBeLessOrEqualTo { get ; } = new ( "Use .Should().HaveCountLessOrEqualTo()" , GetHelpLink ( "Collections-13" ) ) ;
3232 public static DiagnosticMetadata CollectionShouldNotHaveCount_CountShouldNotBe { get ; } = new ( "Use .Should().NotHaveCount()" , GetHelpLink ( "Collections-14" ) ) ;
33- public static DiagnosticMetadata CollectionShouldContainSingle_ShouldHaveCount1 { get ; } = new ( "Use .Should().HaveCount ()" , GetHelpLink ( "Collections-15" ) ) ;
34- public static DiagnosticMetadata CollectionShouldHaveCount_CountShouldBe1 { get ; } = new ( "Use .Should().HaveCount ()" , GetHelpLink ( "Collections-15" ) ) ;
33+ public static DiagnosticMetadata CollectionShouldContainSingle_ShouldHaveCount1 { get ; } = new ( "Use .Should().ContainSingle ()" , GetHelpLink ( "Collections-15" ) ) ;
34+ public static DiagnosticMetadata CollectionShouldContainSingle_CountShouldBe1 { get ; } = new ( "Use .Should().ContainSingle ()" , GetHelpLink ( "Collections-15" ) ) ;
3535 public static DiagnosticMetadata CollectionShouldBeEmpty_ShouldHaveCount0 { get ; } = new ( "Use .Should().BeEmpty()" , GetHelpLink ( "Collections-16" ) ) ;
36- public static DiagnosticMetadata CollectionShouldHaveCount_CountShouldBe0 { get ; } = new ( "Use .Should().HaveCount ()" , GetHelpLink ( "Collections-16" ) ) ;
36+ public static DiagnosticMetadata CollectionShouldBeEmpty_CountShouldBe0 { get ; } = new ( "Use .Should().BeEmpty ()" , GetHelpLink ( "Collections-16" ) ) ;
3737 public static DiagnosticMetadata CollectionShouldHaveSameCount_ShouldHaveCountOtherCollectionCount { get ; } = new ( "Use .Should().HaveSameCount()" , GetHelpLink ( "Collections-17" ) ) ;
3838 public static DiagnosticMetadata CollectionShouldNotHaveSameCount_CountShouldNotBeOtherCollectionCount { get ; } = new ( "Use .Should().NotHaveSameCount()" , GetHelpLink ( "Collections-18" ) ) ;
3939 public static DiagnosticMetadata CollectionShouldContainProperty_WhereShouldNotBeEmpty { get ; } = new ( "Use .Should().NotBeEmpty()" , GetHelpLink ( "Collections-19" ) ) ;
@@ -95,7 +95,6 @@ private DiagnosticMetadata(string message, string helpLink, [CallerMemberName] s
9595 public static DiagnosticMetadata ExceptionShouldThrowWithMessage_ShouldThrowWhichMessageShouldEndWith = new ( "Use .Should().Throw<TException>().WithMessage()" , GetHelpLink ( "Exceptions-2" ) ) ;
9696 public static DiagnosticMetadata ExceptionShouldThrowWithMessage_ShouldThrowAndMessageShouldStartWith = new ( "Use .Should().Throw<TException>().WithMessage()" , GetHelpLink ( "Exceptions-2" ) ) ;
9797 public static DiagnosticMetadata ExceptionShouldThrowWithMessage_ShouldThrowWhichMessageShouldStartWith = new ( "Use .Should().Throw<TException>().WithMessage()" , GetHelpLink ( "Exceptions-2" ) ) ;
98-
9998 public static DiagnosticMetadata ExceptionShouldThrowWithInnerException_ShouldThrowAndInnerExceptionShouldBeOfType = new ( "Use .Should().Throw<TException>().WithInnerException<TInnerException>()" , string . Empty ) ;
10099 public static DiagnosticMetadata ExceptionShouldThrowWithInnerException_ShouldThrowWhichInnerExceptionShouldBeOfType = new ( "Use .Should().Throw<TException>().WithInnerException<TInnerException>()" , string . Empty ) ;
101100 public static DiagnosticMetadata ExceptionShouldThrowExactlyWithInnerException_ShouldThrowExactlyAndInnerExceptionShouldBeOfType = new ( "Use .Should().ThrowExactly<TException>().WithInnerException<TInnerException>()" , string . Empty ) ;
0 commit comments