@@ -26,25 +26,27 @@ void main() {
26
26
});
27
27
28
28
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 );
31
31
expect (proxy.toPacString (), equals ('PROXY localhost:8080' ));
32
32
});
33
33
34
34
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' );
36
37
expect (proxy.toPacString (), equals ('PROXY localhost' ));
37
38
});
38
39
39
40
test ('returns "SOCKS host:port" for ProxyType.socks with host and port' ,
40
41
() {
41
- SentryProxy proxy =
42
- SentryProxy ( type: SentryProxyType .socks, host: 'localhost' , port: 8080 );
42
+ SentryProxy proxy = SentryProxy (
43
+ type: SentryProxyType .socks, host: 'localhost' , port: 8080 );
43
44
expect (proxy.toPacString (), equals ('SOCKS localhost:8080' ));
44
45
});
45
46
46
47
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' );
48
50
expect (proxy.toPacString (), equals ('SOCKS localhost' ));
49
51
});
50
52
0 commit comments