From bc79dc79f06585ade1df7028f55ed0d430257dcf Mon Sep 17 00:00:00 2001 From: Stephen Date: Tue, 5 Dec 2017 12:08:36 -0500 Subject: [PATCH] Linting per prettier@1.9.0. (#21) --- translate/system-test/translate.test.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/translate/system-test/translate.test.js b/translate/system-test/translate.test.js index f36a5cd52a8..e9d5218bba4 100644 --- a/translate/system-test/translate.test.js +++ b/translate/system-test/translate.test.js @@ -42,9 +42,9 @@ test(`should detect language of multiple strings`, async t => { cwd ); const [detections] = await translate.detect([text, text2]); - const expected = `Detections:\n${text} => ${detections[0].language}\n${ - text2 - } => ${detections[1].language}`; + const expected = `Detections:\n${text} => ${ + detections[0].language + }\n${text2} => ${detections[1].language}`; t.is(output, expected); }); @@ -76,9 +76,9 @@ test(`should translate multiple strings`, async t => { cwd ); 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]}`; t.is(output, expected); }); @@ -98,8 +98,8 @@ test(`should translate multiple strings with a model`, async t => { cwd ); 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]}`; t.is(output, expected); });