From 92a5d6a8afa5bd484f3ae14d5d5beb182ef98797 Mon Sep 17 00:00:00 2001 From: Luca Cavanna Date: Thu, 16 Jan 2014 15:47:10 +0100 Subject: [PATCH] [TEST] Replaced File.separator with '/' as REST test suites can be loaded from classpath, where '/' is needed --- .../org/elasticsearch/test/rest/section/RestTestSuite.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/test/rest/section/RestTestSuite.java b/src/test/java/org/elasticsearch/test/rest/section/RestTestSuite.java index 652eceb2aa2..5737e1eb221 100644 --- a/src/test/java/org/elasticsearch/test/rest/section/RestTestSuite.java +++ b/src/test/java/org/elasticsearch/test/rest/section/RestTestSuite.java @@ -21,7 +21,6 @@ package org.elasticsearch.test.rest.section; import com.google.common.collect.Lists; import com.google.common.collect.Sets; -import java.io.File; import java.util.List; import java.util.Set; @@ -54,7 +53,7 @@ public class RestTestSuite { //describes the rest test suite (e.g. index/10_with_id) //useful also to reproduce failures (RestReproduceInfoPrinter) public String getDescription() { - return api + File.separator + name; + return api + "/" + name; } public SetupSection getSetupSection() {