Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Resolve ambiguity between `Task` and `ValueTask` overloads.
  • Loading branch information
martincostello committed Nov 1, 2023
1 parent 8becd80 commit 972f9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public async Task Cannot_Invoke_Function_If_Application_Id_Incorrect()

// Act
InvalidOperationException exception = await Assert.ThrowsAsync<InvalidOperationException>(
async () => await function.HandlerAsync(request, context));
() => function.HandlerAsync(request, context));

// Assert
exception.Message.ShouldBe("Request application Id 'not-my-skill-id' and configured skill Id 'my-skill-id' mismatch.");
Expand Down

0 comments on commit 972f9be

Please sign in to comment.