Skip to content

Commit 5c252fe

Browse files
authored
Update DateTimeToCharProcessorTests.java
Just Gave absolute path
1 parent 83a13b9 commit 5c252fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeToCharProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class DateTimeToCharProcessorTests extends ESTestCase {
5757
@ParametersFactory(argumentFormatting = "%1$s:%2$s %5$s")
5858
public static Iterable<Object[]> parameters() throws Exception {
5959
List<Object[]> params = new ArrayList<>();
60-
String testFile = "tochar-generated.csv";
60+
String testFile = "/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/tochar-generated.csv";
6161
int lineNumber = 0;
6262
for (String line : Files.readAllLines(PathUtils.get(DateTimeToCharProcessorTests.class.getResource(testFile).toURI()))) {
6363
lineNumber += 1;

0 commit comments

Comments
 (0)