aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-11 08:16:28 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-11 13:23:40 +0700
commitafb35f52be29d62aabaed41402481a8fce90b085 (patch)
tree6b687c9a205ac44964a2ef5df05a2671f87a1849
parentf996d0247c3f695cde7d220289438d6c8e89bd0c (diff)
downloadaspectj-afb35f52be29d62aabaed41402481a8fce90b085.tar.gz
aspectj-afb35f52be29d62aabaed41402481a8fce90b085.zip
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>
-rw-r--r--org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java b/org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java
index 91fbc9b86..d1395ac81 100644
--- a/org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java
+++ b/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);
}
}