瀏覽代碼

skip attribute for line number - confuses mac/linux.

tags/V1_5_2rc1
aclement 18 年之前
父節點
當前提交
0b27616f8e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java

+ 2
- 1
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]+

Loading…
取消
儲存