Skip to content

Commit fda0070

Browse files
committed
fixup! remove eyecatcher
1 parent acc2310 commit fda0070

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/parallel/test-tls-server-early-data.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ tmpdir.refresh();
2323
const sessionPath = path.join(tmpdir.path, 'sess.pem');
2424

2525
const server = tls
26-
.createServer(options, (s) => s.end('eyecatcher'))
26+
.createServer(options, (s) => s.end('ok'))
2727
.listen(0, '127.0.0.1', common.mustCall(go));
2828

2929
function go() {
@@ -42,7 +42,6 @@ function go() {
4242
proc.stdout.pipe(process.stdout); // For debugging.
4343
proc.on('exit', common.mustCall((exitCode, signalCode) => {
4444
assert.strictEqual(exitCode, 0);
45-
assert(stdout.includes('eyecatcher'));
4645
assert(stdout.includes('Early data was not sent'));
4746
assert(stdout.includes('New, TLSv1.3, Cipher is TLS_'));
4847
next();
@@ -66,7 +65,6 @@ function next() {
6665
proc.stdout.pipe(process.stdout); // For debugging.
6766
proc.on('exit', common.mustCall((exitCode, signalCode) => {
6867
assert.strictEqual(exitCode, 0);
69-
assert(stdout.includes('eyecatcher'));
7068
assert(stdout.includes('Early data was not sent'));
7169
assert(stdout.includes('Reused, TLSv1.3, Cipher is TLS_'));
7270
assert(!stdout.includes('Early data was accepted'));

0 commit comments

Comments
 (0)