Browse Source

* fixed test in case a widestringmanager is installed

git-svn-id: trunk@33611 -
Jonas Maebe 9 years ago
parent
commit
eabcabe329
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/webtbs/tw30082.pp

+ 2 - 1
tests/webtbs/tw30082.pp

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