Explorar o código

* fixed test

git-svn-id: trunk@10474 -
Jonas Maebe %!s(int64=17) %!d(string=hai) anos
pai
achega
7d3498bb04
Modificáronse 1 ficheiros con 6 adicións e 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;