summaryrefslogtreecommitdiff
path: root/test/parallel/test-console-sync-write-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-console-sync-write-error.js')
-rw-r--r--test/parallel/test-console-sync-write-error.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/parallel/test-console-sync-write-error.js b/test/parallel/test-console-sync-write-error.js
index 4d6c52e0da..bf916ff5b8 100644
--- a/test/parallel/test-console-sync-write-error.js
+++ b/test/parallel/test-console-sync-write-error.js
@@ -12,8 +12,7 @@ for (const method of ['dir', 'log', 'warn']) {
});
const c = new Console(out, out, true);
-
- c[method]('abc');
+ c[method]('abc'); // Should not throw.
}
{
@@ -24,8 +23,7 @@ for (const method of ['dir', 'log', 'warn']) {
});
const c = new Console(out, out, true);
-
- c[method]('abc');
+ c[method]('abc'); // Should not throw.
}
{
@@ -36,7 +34,6 @@ for (const method of ['dir', 'log', 'warn']) {
});
const c = new Console(out, out, true);
-
- c[method]('abc');
+ c[method]('abc'); // Should not throw.
}
}