From 90e49d3495e01c07d50b089880f1edba43e9464f Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Fri, 15 Nov 2019 12:16:05 -0800 Subject: [PATCH] chore: address linting issues (#385) --- translate/test/translate.test.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/translate/test/translate.test.js b/translate/test/translate.test.js index 733c0d4d43..f1faf261eb 100644 --- a/translate/test/translate.test.js +++ b/translate/test/translate.test.js @@ -68,9 +68,7 @@ describe('translate sample tests', () => { it('should translate multiple strings', async () => { const output = execSync(`${cmd} translate ${toLang} "${text}" "${text2}"`); const [translations] = await translate.translate([text, text2], toLang); - const expected = `Translations:\n${text} => (${toLang}) ${ - translations[0] - }\n${text2} => (${toLang}) ${translations[1]}`; + const expected = `Translations:\n${text} => (${toLang}) ${translations[0]}\n${text2} => (${toLang}) ${translations[1]}`; assert.strictEqual(output, expected); }); @@ -88,9 +86,7 @@ describe('translate sample tests', () => { `${cmd} translate-with-model ${toLang} ${model} "${text}" "${text2}"` ); const [translations] = await translate.translate([text, text2], toLang); - const expected = `Translations:\n${text} => (${toLang}) ${ - translations[0] - }\n${text2} => (${toLang}) ${translations[1]}`; + const expected = `Translations:\n${text} => (${toLang}) ${translations[0]}\n${text2} => (${toLang}) ${translations[1]}`; assert.strictEqual(output, expected); }); });