Skip to content

Commit bd9deef

Browse files
committed
fix test initialization logic
1 parent f6717fa commit bd9deef

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CryptoLib.Tests/src/Crypto/RSABlindedTests.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ interface
99
uses
1010
SysUtils,
1111
Classes,
12-
{$IFDEF FPC}
12+
{$IFDEF FPC}
1313
fpcunit,
1414
testregistry,
15-
{$ELSE}
15+
{$ELSE}
1616
TestFramework,
17-
{$ENDIF}
17+
{$ENDIF}
1818
ClpBigInteger,
1919
ClpSecureRandom,
2020
ClpEncoders,

CryptoLib.Tests/src/Crypto/RSATests.pas

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,10 @@ procedure TTestRSA.TestRsaSignature;
396396

397397
initialization
398398

399-
RegisterTest(TTestRSA.Suite);
399+
{$IFDEF FPC}
400+
RegisterTest(TTestRSA);
401+
{$ELSE}
402+
RegisterTest(TTestRSA.Suite);
403+
{$ENDIF FPC}
400404

401405
end.

0 commit comments

Comments
 (0)