|
@@ -83,7 +83,7 @@ end;
|
|
|
|
|
|
procedure testAnsiStrLComp;
|
|
procedure testAnsiStrLComp;
|
|
begin
|
|
begin
|
|
- teststr:='AnsiStrIComp';
|
|
|
|
|
|
+ teststr:='AnsiStrLComp';
|
|
check (ansistrlcomp ('', '', 99) = 0, 1); { Trivial case. }
|
|
check (ansistrlcomp ('', '', 99) = 0, 1); { Trivial case. }
|
|
check (ansistrlcomp ('a', 'a', 99) = 0, 2); { Identity. }
|
|
check (ansistrlcomp ('a', 'a', 99) = 0, 2); { Identity. }
|
|
check (ansistrlcomp ('abc', 'abc', 99) = 0, 3); { Multicharacter. }
|
|
check (ansistrlcomp ('abc', 'abc', 99) = 0, 3); { Multicharacter. }
|
|
@@ -164,4 +164,4 @@ begin
|
|
testAnsiStrLIComp;
|
|
testAnsiStrLIComp;
|
|
if goterror then
|
|
if goterror then
|
|
halt(1);
|
|
halt(1);
|
|
-end.
|
|
|
|
|
|
+end.
|