Skip to content

Apache Lucene open-source search software

add = signs

Robert Muird92047875106
diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
index 8f3fbc6039d..cd671803201 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
@@ -1560,7 +1560,7 @@ public abstract class LuceneTestCase extends Assert {
// We get here from InterceptTestCaseEvents on the 'failed' event....
public static void reportPartialFailureInfo() {
System.err.println("NOTE: reproduce with (hopefully): ant test " +
- "-Dtestcase" + getTestClass().getSimpleName() +
+ "-Dtestcase=" + getTestClass().getSimpleName() +
" -Dtests.seed=" + RandomizedContext.current().getRunnerSeedAsString() +
reproduceWithExtraParams());
}
@@ -1569,7 +1569,7 @@ public abstract class LuceneTestCase extends Assert {
public void reportAdditionalFailureInfo() {
StringBuilder b = new StringBuilder();
b.append("NOTE: reproduce with: ant test ")
- .append("-Dtestcase").append(getTestClass().getSimpleName());
+ .append("-Dtestcase=").append(getTestClass().getSimpleName());
if (getName() != null) {
b.append(" -Dtests.method=").append(getName());
}