Skip to content

Commit ea7a58b

Browse files
authored
docs(samples): update failing sample test (#807)
1 parent 29d1603 commit ea7a58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translate/test/v3/translate_get_supported_languages.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ describe(REGION_TAG, () => {
2828
const translationClient = new TranslationServiceClient();
2929
const projectId = await translationClient.getProjectId();
3030
const output = execSync(`node v3/${REGION_TAG}.js ${projectId}`);
31-
assert.match(output, /zh-CN/);
31+
assert.match(output, /zh/);
3232
});
3333
});

0 commit comments

Comments
 (0)