Skip to content

Commit 89c0915

Browse files
committed
run format
1 parent f48b52d commit 89c0915

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

dart/test/http_client/io_client_provider_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ void main() {
4242
});
4343

4444
test('socks proxy should not call findProxyResult', () async {
45-
fixture.options.proxy =
46-
SentryProxy(type: SentryProxyType.socks, host: 'localhost', port: 8080);
45+
fixture.options.proxy = SentryProxy(
46+
type: SentryProxyType.socks, host: 'localhost', port: 8080);
4747

4848
final sut = fixture.getSut();
4949
sut.getClient(fixture.options);

dart/test/protocol/sentry_proxy_test.dart

+8-6
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,27 @@ void main() {
2626
});
2727

2828
test('returns "PROXY host:port" for ProxyType.http with host and port', () {
29-
SentryProxy proxy =
30-
SentryProxy(type: SentryProxyType.http, host: 'localhost', port: 8080);
29+
SentryProxy proxy = SentryProxy(
30+
type: SentryProxyType.http, host: 'localhost', port: 8080);
3131
expect(proxy.toPacString(), equals('PROXY localhost:8080'));
3232
});
3333

3434
test('returns "PROXY host" for ProxyType.http with host only', () {
35-
SentryProxy proxy = SentryProxy(type: SentryProxyType.http, host: 'localhost');
35+
SentryProxy proxy =
36+
SentryProxy(type: SentryProxyType.http, host: 'localhost');
3637
expect(proxy.toPacString(), equals('PROXY localhost'));
3738
});
3839

3940
test('returns "SOCKS host:port" for ProxyType.socks with host and port',
4041
() {
41-
SentryProxy proxy =
42-
SentryProxy(type: SentryProxyType.socks, host: 'localhost', port: 8080);
42+
SentryProxy proxy = SentryProxy(
43+
type: SentryProxyType.socks, host: 'localhost', port: 8080);
4344
expect(proxy.toPacString(), equals('SOCKS localhost:8080'));
4445
});
4546

4647
test('returns "SOCKS host" for ProxyType.socks with host only', () {
47-
SentryProxy proxy = SentryProxy(type: SentryProxyType.socks, host: 'localhost');
48+
SentryProxy proxy =
49+
SentryProxy(type: SentryProxyType.socks, host: 'localhost');
4850
expect(proxy.toPacString(), equals('SOCKS localhost'));
4951
});
5052

0 commit comments

Comments
 (0)