Selaa lähdekoodia

* fixed test in case a widestringmanager is installed

git-svn-id: trunk@33611 -
Jonas Maebe 9 vuotta sitten
vanhempi
sitoutus
eabcabe329
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      tests/webtbs/tw30082.pp

+ 2 - 1
tests/webtbs/tw30082.pp

@@ -10,6 +10,7 @@ begin
    halt(1);
    halt(1);
  s:=s+'NAME';
  s:=s+'NAME';
  writeln(stringcodepage(s));
  writeln(stringcodepage(s));
- if stringcodepage(s)<>0 then
+ if (stringcodepage(s)<>0) and
+    (stringcodepage(s)<>DefaultSystemCodePage) then
    halt(2);
    halt(2);
 end.
 end.