diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-11 13:16:14 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-11 17:49:52 +0200 |
commit | b042c7c071827fd516bf7b5b52f2aed0473691e1 (patch) | |
tree | 827e9c3c20909c648d3f113127914ca2d81df7fa /tests.ts | |
parent | cc29542ad87fba6d605e65f468f1943bf8e200cb (diff) |
Run 'make fmt'
Diffstat (limited to 'tests.ts')
-rw-r--r-- | tests.ts | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -90,7 +90,7 @@ test(function tests_console_stringify_circular() { arrowFunc: () => {}, extendedClass: new Extended(), nFunc: new Function(), - extendedCstr: Extended, + extendedCstr: Extended }; const circularObj = { @@ -103,7 +103,7 @@ test(function tests_console_stringify_circular() { nested: nestedObj, emptyObj: {}, arr: [1, "s", false, null, nestedObj], - baseClass: new Base(), + baseClass: new Base() }; nestedObj.o = circularObj; @@ -121,8 +121,6 @@ test(function tests_console_stringify_circular() { console.log(JSON); console.log(console); } catch { - throw new Error( - "Expected no crash on circular object" - ); + throw new Error("Expected no crash on circular object"); } }); |