]> source.dussan.org Git - aspectj.git/commitdiff
fixed source location
authorjhugunin <jhugunin>
Tue, 7 Jan 2003 23:19:25 +0000 (23:19 +0000)
committerjhugunin <jhugunin>
Tue, 7 Jan 2003 23:19:25 +0000 (23:19 +0000)
tests/new/SourceLocationWithinExpr.java

index 797fc430ed3b9c6df1ba195f39e0331b4dff73ae..3567fc57eef1f61c7c6dd9f476ed22e6358c77a7 100644 (file)
@@ -6,8 +6,8 @@ import org.aspectj.lang.reflect.*;
 /** @testcase PR#885 call source locations within expression */
 public class SourceLocationWithinExpr {
     public static void main (String[] args) {
-        new                  // 9*
-            C()              // 10
+        new                  // 9
+            C()              // 10*
             .                // 11
             getD()           // 12*
             .                // 13
@@ -28,7 +28,7 @@ aspect A {
     private static final String SEP = " - ";
     static {
         // using qualifying expr?
-        Tester.expectEvent("C()" + SEP + "9");
+        Tester.expectEvent("C()" + SEP + "10");
         Tester.expectEvent("getD()" + SEP + "12");
         Tester.expectEvent("getE()" + SEP + "14");
         Tester.expectEvent("getF()" + SEP + "16");