From d4eccc6dc0d28af00331ab773fcb7f693725baff Mon Sep 17 00:00:00 2001 From: Victor Carreras <34163765+vicajilau@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:58:19 +0200 Subject: [PATCH] Fixed linting issue --- test/src/kex/kex_nist_test.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/src/kex/kex_nist_test.dart b/test/src/kex/kex_nist_test.dart index f17be47..ebe24dd 100644 --- a/test/src/kex/kex_nist_test.dart +++ b/test/src/kex/kex_nist_test.dart @@ -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.'); }); }); }