Browse Source

* fixed test

git-svn-id: trunk@10474 -
Jonas Maebe 17 years ago
parent
commit
7d3498bb04
1 changed files with 6 additions and 5 deletions
  1. 6 5
      tests/webtbs/tw10224.pp

+ 6 - 5
tests/webtbs/tw10224.pp

@@ -7,13 +7,14 @@ var
 
 
 procedure expect(const v,s:string);
 procedure expect(const v,s:string);
 var
 var
-  s1 : string;
+  s1,s2 : string;
 begin
 begin
-  s1:=SetDirSeparators(s);
-  writeln('relative path: "',v,'"');
-  if v<>s then
+  s1:=SetDirSeparators(v);
+  s2:=SetDirSeparators(s);
+  writeln('relative path: "',s1,'"');
+  if s1<>s2 then
     begin
     begin
-      writeln('Error, expected "',s,'"');
+      writeln('Error, expected "',s2,'"');
       err:=true;
       err:=true;
     end;
     end;
 end;
 end;