Skip to content

Commit

Permalink
Fixed linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vicajilau committed Aug 29, 2024
1 parent d29b77a commit d4eccc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/src/kex/kex_nist_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ void main() {
final kex = SSHKexNist.p256();
final privateKey = kex.privateKey;

expect(privateKey, isNot(equals(BigInt.zero)), reason: 'Private key should not be zero.');
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.');
expect(privateKey < kex.curve.n, isTrue,
reason: 'Private key should be less than curve order.');
});
});
}

0 comments on commit d4eccc6

Please sign in to comment.