]> source.dussan.org Git - aspectj.git/commitdiff
skip attribute for line number - confuses mac/linux.
authoraclement <aclement>
Mon, 19 Jun 2006 13:55:03 +0000 (13:55 +0000)
committeraclement <aclement>
Mon, 19 Jun 2006 13:55:03 +0000 (13:55 +0000)
tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java

index c70144e544b8c0dcf3c903541eec91847bceb51a..e48ee633e8c26c715d2e638fd3effa588616441c 100644 (file)
@@ -259,7 +259,8 @@ public class SynchronizationTransformTests extends XMLBasedAjcTestCase {
                        String[] lines = ls.getLines();
                        for (int i = 0; i < lines.length; i++) {
                                String existingLine = lines[i];
-                               if (!fileContents[i].equals(existingLine)) {
+                               if (fileContents[i].indexOf("MethodDeclarationLineNumber")==-1 && 
+                                       !fileContents[i].equals(existingLine)) {
                                        dump("File contents:",fileContents);
                                        dump("Actual:",lines);
                                        fail("\nDifference in method "+m.getName()+" on line "+i+" between the expected:\n"+fileContents[i]+