Skip to content

Commit f363c22

Browse files
fix cspell ignore per daniel's recommendation (Azure#22865)
1 parent 82a5f73 commit f363c22

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.vscode/cspell.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@
268268
"words": [
269269
"Phong"
270270
]
271+
},
272+
{
273+
"filename": "sdk/translation/azure-ai-translation-document/tests/*.py",
274+
"words": [
275+
"essai"
276+
]
271277
}
272278
],
273279
"allowCompoundWords": true

sdk/translation/azure-ai-translation-document/tests/test_translation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,6 @@ def test_translation_with_glossary(self, client):
549549

550550
with open(document, "rb") as fd:
551551
translated = fd.readline()
552-
# cSpell:ignore essai
552+
553553
assert b'essai' in translated # glossary worked
554554
os.remove(document)

sdk/translation/azure-ai-translation-document/tests/test_translation_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,6 @@ async def test_translation_with_glossary(self, client):
548548

549549
with open(document, "rb") as fd:
550550
translated = fd.readline()
551-
# cSpell:ignore essai
551+
552552
assert b'essai' in translated # glossary worked
553553
os.remove(document)

0 commit comments

Comments
 (0)