5 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (5)
Asserts\ExceptionAssertsTests.cs (5)
1679
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(
testCode
));
1695
await Assert.ThrowsAsync<ArgumentException>(
testCode
);
1704
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(
testCode
));
1722
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(
testCode
));
1741
await Assert.ThrowsAsync<Exception>(
testCode
);