diff options
Diffstat (limited to 'std/testing/format.ts')
-rw-r--r-- | std/testing/format.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/std/testing/format.ts b/std/testing/format.ts index 28937d567..953347c27 100644 --- a/std/testing/format.ts +++ b/std/testing/format.ts @@ -360,13 +360,11 @@ const getKeysOfEnumerableProperties = (object: {}): Array<string | symbol> => { const keys: Array<string | symbol> = Object.keys(object).sort(); if (Object.getOwnPropertySymbols) { - Object.getOwnPropertySymbols(object).forEach( - (symbol): void => { - if (Object.getOwnPropertyDescriptor(object, symbol)!.enumerable) { - keys.push(symbol); - } + Object.getOwnPropertySymbols(object).forEach((symbol): void => { + if (Object.getOwnPropertyDescriptor(object, symbol)!.enumerable) { + keys.push(symbol); } - ); + }); } return keys; |