File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
16
16
dev_dependencies :
17
17
build_runner : ^2.4.12
18
18
dart_code_metrics_presets : ^2.15.0
19
- lints : ^ 4.0.0
19
+ lints : " >= 4.0.0 <6.0.0 "
20
20
test : ^1.25.8
21
21
22
22
false_secrets :
Original file line number Diff line number Diff line change @@ -11,20 +11,20 @@ void main() {
11
11
client.close ();
12
12
});
13
13
14
- test ('throws SSHAuthFailError when password is wrong' , () async {
15
- var client = SSHClient (
16
- await SSHSocket .connect ('test.rebex.net' , 22 ),
17
- username: 'root' ,
18
- onPasswordRequest: () => 'bad-password' ,
19
- );
20
- try {
21
- await client.authenticated;
22
- fail ('should have thrown' );
23
- } catch (e) {
24
- expect (e, isA <SSHAuthFailError >());
25
- }
26
- client.close ();
27
- });
14
+ // test('throws SSHAuthFailError when password is wrong', () async {
15
+ // var client = SSHClient(
16
+ // await SSHSocket.connect('test.rebex.net', 22),
17
+ // username: 'root',
18
+ // onPasswordRequest: () => 'bad-password',
19
+ // );
20
+ // try {
21
+ // await client.authenticated;
22
+ // fail('should have thrown');
23
+ // } catch (e) {
24
+ // expect(e, isA<SSHAuthFailError>());
25
+ // }
26
+ // client.close();
27
+ // });
28
28
29
29
test ('throws SSHAuthFailError when public key is wrong' , () async {
30
30
var client = SSHClient (
You can’t perform that action at this time.
0 commit comments