Browse Source

skip attribute for line number - confuses mac/linux.

tags/V1_5_2rc1
aclement 18 years ago
parent
commit
0b27616f8e

+ 2
- 1
tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java View File

String[] lines = ls.getLines(); String[] lines = ls.getLines();
for (int i = 0; i < lines.length; i++) { for (int i = 0; i < lines.length; i++) {
String existingLine = lines[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("File contents:",fileContents);
dump("Actual:",lines); dump("Actual:",lines);
fail("\nDifference in method "+m.getName()+" on line "+i+" between the expected:\n"+fileContents[i]+ fail("\nDifference in method "+m.getName()+" on line "+i+" between the expected:\n"+fileContents[i]+

Loading…
Cancel
Save