瀏覽代碼

* fixed test in case a widestringmanager is installed

git-svn-id: trunk@33611 -
Jonas Maebe 9 年之前
父節點
當前提交
eabcabe329
共有 1 個文件被更改,包括 2 次插入1 次删除
  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.