Explorar el Código

* fixed test

git-svn-id: trunk@10474 -
Jonas Maebe hace 17 años
padre
commit
7d3498bb04
Se han modificado 1 ficheros con 6 adiciones y 5 borrados
  1. 6 5
      tests/webtbs/tw10224.pp

+ 6 - 5
tests/webtbs/tw10224.pp

@@ -7,13 +7,14 @@ var
 
 procedure expect(const v,s:string);
 var
-  s1 : string;
+  s1,s2 : string;
 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
-      writeln('Error, expected "',s,'"');
+      writeln('Error, expected "',s2,'"');
       err:=true;
     end;
 end;