mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-08 10:38:28 +02:00
* Change test to test resourcestring correctness.
git-svn-id: trunk@5645 -
This commit is contained in:
parent
d5cf9af69f
commit
787ed7e230
@ -1,8 +1,17 @@
|
|||||||
{$mode fpc}
|
{$mode fpc}
|
||||||
|
|
||||||
{ Resourcestrings are pre-initialized }
|
|
||||||
resourcestring
|
resourcestring
|
||||||
s = 'OK';
|
s = 'OK';
|
||||||
|
|
||||||
|
var t:ansistring;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
t:=s;
|
||||||
|
if t<>'OK' then
|
||||||
|
begin
|
||||||
|
writeln('Resourcestring error!');
|
||||||
|
halt(1);
|
||||||
|
end
|
||||||
|
else
|
||||||
writeln(s);
|
writeln(s);
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user