Skip to content

Commit 91361fa

Browse files
committed
fix: Improve readble
1 parent e13d24f commit 91361fa

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

test/es-module/test-typescript.mjs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,14 @@ test('execute a TypeScript file with union types', async () => {
332332
fixtures.path('typescript/ts/test-union-types.ts'),
333333
]);
334334

335+
335336
strictEqual(result.stderr, '');
336-
strictEqual(result.stdout, "{ name: 'Hello, TypeScript!'"+
337-
" }\n{ role: 'admin', permission: 'all' }\n{\n foo: 'Testing"+
338-
" Partial Type',\n bar: 42,\n zoo: true,\n metadata: undefined\n}\n");
337+
strictEqual(result.stdout,
338+
"{" +
339+
" name: 'Hello, TypeScript!' }\n" +
340+
"{ role: 'admin', permission: 'all' }\n" +
341+
"{\n foo: 'Testing Partial Type',\n bar: 42,\n zoo: true,\n metadata: undefined\n" +
342+
"}\n");
339343
strictEqual(result.code, 0);
340344
});
341345

0 commit comments

Comments
 (0)