Azure AI Translation Text Samples Issue
Section link:
Reason: When running unit tests, an error "Method has non-void return value, but no result is expected" occurs.
Suggestion: Change the return type from "TextTranslationClient" to "void".
Section link:
Reason: When running unit tests, an error "Async test methods must have a non-void return type" occurs.
Suggestion:
Change the return type of the HandleBadRequestAsync method from "void" to "Task".
@scottaddie , @jsquire , @mayurid and @cpoulain for notification.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cpoulain @mikeymcz @swmachan.
This issue has been fixed by https://github.com/Azure/azure-sdk-for-net/pull/45153. Close it.