Skip to content

Commit 104910b

Browse files
authored
Merge pull request #111 from TerminalStudio/dependabot/pub/lints-5.0.0
Bump lints from 4.0.0 to 5.0.0
2 parents d4eccc6 + 150b320 commit 104910b

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
dev_dependencies:
1717
build_runner: ^2.4.12
1818
dart_code_metrics_presets: ^2.15.0
19-
lints: ^4.0.0
19+
lints: ">=4.0.0 <6.0.0"
2020
test: ^1.25.8
2121

2222
false_secrets:

test/src/ssh_client_test.dart

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ void main() {
1111
client.close();
1212
});
1313

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+
// });
2828

2929
test('throws SSHAuthFailError when public key is wrong', () async {
3030
var client = SSHClient(

0 commit comments

Comments
 (0)