Skip to content

Commit d94a086

Browse files
committed
quic: fmt
Signed-off-by: Efe Karasakal <hi@efe.dev>
1 parent 34d0f03 commit d94a086

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/quic/application.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,8 @@ class DefaultApplication final : public Session::Application {
761761
return false;
762762
}
763763

764-
// The stream was created, but was immediately destroyed because there's no onstream handler.
764+
// The stream was created, but was immediately destroyed because there's
765+
// no onstream handler.
765766
if (stream->is_destroyed()) [[unlikely]] {
766767
return true;
767768
}

test/parallel/test-quic-stream-uni-no-onstream.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
// The client creates a uni stream with no onstream.
44
// Verify that this causes no crash.
55

6-
import {hasQuic, skip, mustCall} from '../common/index.mjs';
7-
import {createPrivateKey} from 'node:crypto';
6+
import { hasQuic, skip, mustCall } from '../common/index.mjs';
7+
import { createPrivateKey } from 'node:crypto';
88
import * as fixtures from '../common/fixtures.mjs';
99

10-
const {readKey} = fixtures;
10+
const { readKey } = fixtures;
1111

1212
if (!hasQuic) {
1313
skip('QUIC is not enabled');
1414
}
1515

16-
const {listen, connect} = await import('../common/quic.mjs');
16+
const { listen, connect } = await import('../common/quic.mjs');
1717

1818
const serverKey = createPrivateKey(readKey('agent1-key.pem'));
1919
const serverCert = readKey('agent1-cert.pem');

0 commit comments

Comments
 (0)