瀏覽代碼

AjcTestCase cosmetics: surround command in failure report by quotes

This is the same for successful tests in class CompilationResult.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/java16-add-opens
Alexander Kriegisch 3 年之前
父節點
當前提交
afb35f52be
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java

+ 2
- 2
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java 查看文件

@@ -476,7 +476,7 @@ public abstract class AjcTestCase extends TestCase {
addExtra(failureReport, "error", extraErrors);
addExtra(failureReport, "fail", extraFails);
addExtra(failureReport, "weaveInfo", extraWeaves);
failureReport.append("\ncommand was: ajc");
failureReport.append("\ncommand was: 'ajc");
String[] args = result.getArgs();
for (String arg : args) {
failureReport.append(" ");
@@ -484,7 +484,7 @@ public abstract class AjcTestCase extends TestCase {
}
String report = failureReport.toString();
System.err.println(failureReport);
fail(message + "\n" + report);
fail(message + "'\n" + report);
}
}


Loading…
取消
儲存