[tests] Fix file path in testdata

This commit is contained in:
Ilya Kirillov
2022-04-04 15:28:30 +02:00
parent 339a51fbc6
commit 3b55585782
3 changed files with 3 additions and 3 deletions
@@ -43,7 +43,7 @@ internal object TestModuleCompiler {
JarOutputStream(librarySourcesPath.outputStream(), manifest).use { jarOutputStream ->
for (testFile in module.files) {
val text = testServices.sourceFileProvider.getContentOfSourceFile(testFile)
addFileToJar(testFile.relativePath, text, jarOutputStream)
addFileToJar(testFile.name, text, jarOutputStream)
}
}
return librarySourcesPath