From 1969f68d156a1f5fe139350729893acf26efc4a9 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Mon, 13 Apr 2020 09:34:50 -0700 Subject: [PATCH] test: translation of text added comma (#510) --- translate/test/quickstart.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate/test/quickstart.test.js b/translate/test/quickstart.test.js index b9e9ea11b9..f1ed0c72fe 100644 --- a/translate/test/quickstart.test.js +++ b/translate/test/quickstart.test.js @@ -27,6 +27,6 @@ const projectId = process.env.GCLOUD_PROJECT; describe('quickstart sample tests', () => { it('should translate a string', async () => { const stdout = execSync(`node quickstart ${projectId}`, {cwd}); - assert.match(stdout, new RegExp('Translation: Привет, мир!')); + assert.include(stdout, 'Translation: Привет'); }); });