azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

Azure AI Translation Text Samples Issue

Open zhangjiale-64 opened this issue 1 year ago • 1 comments

Section link: image

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: image

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.

zhangjiale-64 avatar Jun 28 '24 02:06 zhangjiale-64

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cpoulain @mikeymcz @swmachan.

github-actions[bot] avatar Jun 28 '24 13:06 github-actions[bot]

This issue has been fixed by https://github.com/Azure/azure-sdk-for-net/pull/45153. Close it.

v-xuto avatar Aug 21 '24 07:08 v-xuto