Skip to content

Commit

Permalink
rename for consistency tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angelazhou32 committed Jan 22, 2025
1 parent 7503174 commit 5f42d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public async Task<TranslationWorkflowOutput> RunAsync(TranslationWorkflowInput i
logger.LogInformation("Preparing to translate 'Goodbye', '{LanguageCode}'", input.LanguageCode);
var goodbyeResult = await Workflow.ExecuteActivityAsync(
(Activities act) => act.TranslateTermAsync(
new Activities.TranslateTermInput("goodbye" input.LanguageCode.ToLower())),
new Activities.TranslateTermInput("goodbye", input.LanguageCode.ToLower())),
activityOptions);

return new TranslationWorkflowOutput(
$"{helloResult.Translation}, {input.Name}",
$"{goodbyeResult.Translation}, {input.Name}");
$"{goodbyeResult.Translation} {input.Name}");
}
}

0 comments on commit 5f42d7c

Please sign in to comment.