Skip to content

Commit

Permalink
fix runtime tests for release
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Jan 19, 2024
1 parent 3cc7111 commit 8aacd1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Reqnroll.RuntimeTests/Bindings/BindingInvokerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,13 @@ public enum StepDefInvocationStyle

class StepDefClassThatThrowsExceptions
{
[MethodImpl(MethodImplOptions.NoInlining)]
public async Task AsyncThrow(ExceptionKind kindOfExceptionToThrow, InnerExceptionContentKind innerExceptionKind)
{
await Task.Run(() => ConstructAndThrowSync(kindOfExceptionToThrow, innerExceptionKind));
}

[MethodImpl(MethodImplOptions.NoInlining)]
public void SyncThrow(ExceptionKind kindOfExceptionToThrow, InnerExceptionContentKind innerExceptionKind)
{
ConstructAndThrowSync(kindOfExceptionToThrow, innerExceptionKind);
Expand Down

0 comments on commit 8aacd1d

Please sign in to comment.