* Fixed test so the same result as in Delphi

git-svn-id: trunk@26877 -
This commit is contained in:
michael 2014-02-25 10:35:39 +00:00
parent e28824465f
commit 9faea4e757

View File

@ -41,11 +41,16 @@ begin
end;
try
y105:='a';
v := y105;
test105(v);
Writeln('Did not catch exception as expected');
Halt(1)
except
on E : TObject do
halt(1);
begin
Writeln('Caught exception ',E.ClassName,'as expected');
end
end;
end;