diff options
Diffstat (limited to 'testing/asserts.ts')
-rw-r--r-- | testing/asserts.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/testing/asserts.ts b/testing/asserts.ts index adf77f3a7..28dfa7911 100644 --- a/testing/asserts.ts +++ b/testing/asserts.ts @@ -56,12 +56,10 @@ function buildMessage(diffResult: ReadonlyArray<DiffResult<string>>): string[] { ); messages.push(""); messages.push(""); - diffResult.forEach( - (result: DiffResult<string>): void => { - const c = createColor(result.type); - messages.push(c(`${createSign(result.type)}${result.value}`)); - } - ); + diffResult.forEach((result: DiffResult<string>): void => { + const c = createColor(result.type); + messages.push(c(`${createSign(result.type)}${result.value}`)); + }); messages.push(""); return messages; |