Skip to content

Commit 3578e35

Browse files
bcoeAce Nassri
authored and
Ace Nassri
committed
test: translation of text added comma (#510)
1 parent 57e18fa commit 3578e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translate/test/quickstart.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ const projectId = process.env.GCLOUD_PROJECT;
2727
describe('quickstart sample tests', () => {
2828
it('should translate a string', async () => {
2929
const stdout = execSync(`node quickstart ${projectId}`, {cwd});
30-
assert.match(stdout, new RegExp('Translation: Привет, мир!'));
30+
assert.include(stdout, 'Translation: Привет');
3131
});
3232
});

0 commit comments

Comments
 (0)