We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d29b77a commit d4eccc6Copy full SHA for d4eccc6
test/src/kex/kex_nist_test.dart
@@ -61,8 +61,10 @@ void main() {
61
final kex = SSHKexNist.p256();
62
final privateKey = kex.privateKey;
63
64
- expect(privateKey, isNot(equals(BigInt.zero)), reason: 'Private key should not be zero.');
65
- expect(privateKey < kex.curve.n, isTrue, reason: 'Private key should be less than curve order.');
+ expect(privateKey, isNot(equals(BigInt.zero)),
+ reason: 'Private key should not be zero.');
66
+ expect(privateKey < kex.curve.n, isTrue,
67
+ reason: 'Private key should be less than curve order.');
68
});
69
70
}
0 commit comments