You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/AggregateExceptionTests.cs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -16,23 +16,23 @@ public class AggregateExceptionTests
16
16
publicstaticvoidConstructorBasic()
17
17
{
18
18
AggregateExceptionex=newAggregateException();
19
-
Assert.Equal(0,ex.InnerExceptions.Count);
20
-
Assert.True(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor is used, expected a default message");
19
+
Assert.AreEqual(0,ex.InnerExceptions.Count);
20
+
Assert.IsTrue(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor is used, expected a default message");
21
21
22
22
ex=newAggregateException("message");
23
-
Assert.Equal(0,ex.InnerExceptions.Count);
24
-
Assert.True(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor(string) is used");
25
-
23
+
Assert.AreEqual(0,ex.InnerExceptions.Count);
24
+
Assert.IsTrue(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor(string) is used");
Assert.True(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor(string, Exception) is used");
27
+
Assert.AreEqual(1,ex.InnerExceptions.Count);
28
+
Assert.IsTrue(ex.Message!=null,"RunAggregateException_Constructor: FAILED. Message property is null when the default constructor(string, Exception) is used");
0 commit comments