[TEST] Replaced File.separator with '/' as REST test suites can be loaded from classpath, where '/' is needed

This commit is contained in:
Luca Cavanna 2014-01-16 15:47:10 +01:00
parent 06057c6c39
commit 92a5d6a8af
1 changed files with 1 additions and 2 deletions

View File

@ -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() {