From a9f09da2bd586609681c07c108b8e35dedbf96cb Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Wed, 10 Aug 2022 11:42:39 -0700 Subject: [PATCH] docs(samples): update failing sample test (#807) --- translate/test/v3/translate_get_supported_languages.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate/test/v3/translate_get_supported_languages.test.js b/translate/test/v3/translate_get_supported_languages.test.js index 010e794fd8..d98065773a 100644 --- a/translate/test/v3/translate_get_supported_languages.test.js +++ b/translate/test/v3/translate_get_supported_languages.test.js @@ -28,6 +28,6 @@ describe(REGION_TAG, () => { const translationClient = new TranslationServiceClient(); const projectId = await translationClient.getProjectId(); const output = execSync(`node v3/${REGION_TAG}.js ${projectId}`); - assert.match(output, /zh-CN/); + assert.match(output, /zh/); }); });