summaryrefslogtreecommitdiff
path: root/test/pseudo-tty/no_interleaved_stdio.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/pseudo-tty/no_interleaved_stdio.js')
-rw-r--r--test/pseudo-tty/no_interleaved_stdio.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pseudo-tty/no_interleaved_stdio.js b/test/pseudo-tty/no_interleaved_stdio.js
index ba3989f938..3f1e7b5fb1 100644
--- a/test/pseudo-tty/no_interleaved_stdio.js
+++ b/test/pseudo-tty/no_interleaved_stdio.js
@@ -6,10 +6,10 @@ const common = require('../common');
// 1000 bytes wrapped at 50 columns
// \n turns into a double-byte character
// (48 + {2}) * 20 = 1000
-let out = ('o'.repeat(48) + '\n').repeat(20);
+let out = `${'o'.repeat(48)}\n`.repeat(20);
// Add the remaining 24 bytes and terminate with an 'O'.
// This results in 1025 bytes, just enough to overflow the 1kb OS X TTY buffer.
-out += 'o'.repeat(24) + 'O';
+out += `${'o'.repeat(24)}O`;
const err = '__This is some stderr__';