summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-19 13:55:03 +0000
committeraclement <aclement>2006-06-19 13:55:03 +0000
commit0b27616f8e38fa432f01d07878d2b08ffc25d183 (patch)
treec517a5244af9e507b45edc03a4dd764ac97ec0ab
parentabe25b029852a8c8e1c682a9a59413896d18dd2b (diff)
downloadaspectj-0b27616f8e38fa432f01d07878d2b08ffc25d183.tar.gz
aspectj-0b27616f8e38fa432f01d07878d2b08ffc25d183.zip
skip attribute for line number - confuses mac/linux.
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
index c70144e54..e48ee633e 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
@@ -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]+