Browse Source

* fixed test

git-svn-id: trunk@11008 -
florian 17 years ago
parent
commit
4f7a6bb637
2 changed files with 2 additions and 1 deletions
  1. 1 1
      tests/test/tlib1.pp
  2. 1 0
      tests/test/tlib1a.pp

+ 1 - 1
tests/test/tlib1.pp

@@ -14,7 +14,7 @@ begin
   p(a);
   GetLineInfo(PtrUInt(a),s1,s2,l);
   writeln('Func: ',s1,' Source: ',s2,' Line: ',l);
-  if (s1<>'P') or (s2<>'tlib1a.pp') or (l<>7) then
+  if (s1<>'P') or (s2<>'tlib1a.pp') or (l<>9) then
     halt(1);
   writeln('ok');
 end.

+ 1 - 0
tests/test/tlib1a.pp

@@ -1,4 +1,5 @@
 { %norun }
+{ %opt=-gl }
 {$goto on}
 library tlib1a;