Fix prettier formatting in generated-exceptions test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
diff --git a/lib/nodejs/test/generated-exceptions.test.js b/lib/nodejs/test/generated-exceptions.test.js
index 2104916..9a3c54f 100644
--- a/lib/nodejs/test/generated-exceptions.test.js
+++ b/lib/nodejs/test/generated-exceptions.test.js
@@ -56,8 +56,11 @@
const e = new ttypesEs6.Xception({ errorCode: 1001, message: "test error" });
// The bug was that super(args) passed the args object to TException,
// which would cause message to be "[object Object]"
- assert.notEqual(e.message, "[object Object]",
- "message is not '[object Object]' (would indicate args object was passed to super)");
+ assert.notEqual(
+ e.message,
+ "[object Object]",
+ "message is not '[object Object]' (would indicate args object was passed to super)",
+ );
assert.end();
});
@@ -79,9 +82,19 @@
});
test("ES5 and ES6 generated exceptions have consistent behavior", function t(assert) {
- const es5 = new ttypesEs5.Xception({ errorCode: 1001, message: "test error" });
- const es6 = new ttypesEs6.Xception({ errorCode: 1001, message: "test error" });
+ const es5 = new ttypesEs5.Xception({
+ errorCode: 1001,
+ message: "test error",
+ });
+ const es6 = new ttypesEs6.Xception({
+ errorCode: 1001,
+ message: "test error",
+ });
assert.equal(es5.name, es6.name, "name matches between ES5 and ES6");
- assert.equal(es5.errorCode, es6.errorCode, "errorCode matches between ES5 and ES6");
+ assert.equal(
+ es5.errorCode,
+ es6.errorCode,
+ "errorCode matches between ES5 and ES6",
+ );
assert.end();
});