From 89c091501734ae2e8c48b846e6e9bee1795cc2c7 Mon Sep 17 00:00:00 2001 From: Denis Andrasec Date: Tue, 30 Jul 2024 11:24:27 +0200 Subject: [PATCH] run format --- dart/test/http_client/io_client_provider_test.dart | 4 ++-- dart/test/protocol/sentry_proxy_test.dart | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/dart/test/http_client/io_client_provider_test.dart b/dart/test/http_client/io_client_provider_test.dart index ffba4aa0ee..0672e84c08 100644 --- a/dart/test/http_client/io_client_provider_test.dart +++ b/dart/test/http_client/io_client_provider_test.dart @@ -42,8 +42,8 @@ void main() { }); test('socks proxy should not call findProxyResult', () async { - fixture.options.proxy = - SentryProxy(type: SentryProxyType.socks, host: 'localhost', port: 8080); + fixture.options.proxy = SentryProxy( + type: SentryProxyType.socks, host: 'localhost', port: 8080); final sut = fixture.getSut(); sut.getClient(fixture.options); diff --git a/dart/test/protocol/sentry_proxy_test.dart b/dart/test/protocol/sentry_proxy_test.dart index 691d63bad5..795dc1793d 100644 --- a/dart/test/protocol/sentry_proxy_test.dart +++ b/dart/test/protocol/sentry_proxy_test.dart @@ -26,25 +26,27 @@ void main() { }); test('returns "PROXY host:port" for ProxyType.http with host and port', () { - SentryProxy proxy = - SentryProxy(type: SentryProxyType.http, host: 'localhost', port: 8080); + SentryProxy proxy = SentryProxy( + type: SentryProxyType.http, host: 'localhost', port: 8080); expect(proxy.toPacString(), equals('PROXY localhost:8080')); }); test('returns "PROXY host" for ProxyType.http with host only', () { - SentryProxy proxy = SentryProxy(type: SentryProxyType.http, host: 'localhost'); + SentryProxy proxy = + SentryProxy(type: SentryProxyType.http, host: 'localhost'); expect(proxy.toPacString(), equals('PROXY localhost')); }); test('returns "SOCKS host:port" for ProxyType.socks with host and port', () { - SentryProxy proxy = - SentryProxy(type: SentryProxyType.socks, host: 'localhost', port: 8080); + SentryProxy proxy = SentryProxy( + type: SentryProxyType.socks, host: 'localhost', port: 8080); expect(proxy.toPacString(), equals('SOCKS localhost:8080')); }); test('returns "SOCKS host" for ProxyType.socks with host only', () { - SentryProxy proxy = SentryProxy(type: SentryProxyType.socks, host: 'localhost'); + SentryProxy proxy = + SentryProxy(type: SentryProxyType.socks, host: 'localhost'); expect(proxy.toPacString(), equals('SOCKS localhost')); });