Skip to content

Commit

Permalink
Extend glossary entries test with an entry containing special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Jan 27, 2022
1 parent 641d0db commit 84d55c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DeepLTests/GlossaryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ public async Task TestGlossaryGetEntries() {
var glossaryCleanup = new GlossaryCleanupUtility(translator, nameof(TestGlossaryGetEntries));
var glossaryName = glossaryCleanup.GlossaryName;
try {
var entries = new GlossaryEntries(new[] { ("Apple", "Apfel"), ("Banana", "Banane") });
var entries = new GlossaryEntries(
new[] {
("Apple", "Apfel"), ("Banana", "Banane"), ("A%=&", "B&=%"), ("\u0394\u3041", "\u6DF1"),
("\uD83E\uDEA8", "\uD83E\uDEB5")
});
var createdGlossary = glossaryCleanup.Capture(
await translator.CreateGlossaryAsync(
glossaryName,
Expand Down

0 comments on commit 84d55c8

Please sign in to comment.