mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-09-19 20:51:10 +02:00
chore: Use correct resource names for tests
This commit is contained in:
parent
909d89fa8d
commit
49930f6565
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ class TestPatchAnnotationProcessor {
|
|||
// endregion
|
||||
|
||||
private companion object Utils {
|
||||
const val SAMPLE_PACKAGE = "app.revanced.patcher.patch.annotations.processor.samples"
|
||||
const val SAMPLE_PACKAGE = "app.revanced.patcher.patch.annotation.processor.samples"
|
||||
|
||||
/**
|
||||
* Get a source file from the given sample and class name.
|
||||
|
@ -94,7 +94,7 @@ class TestPatchAnnotationProcessor {
|
|||
* @return The source file.
|
||||
*/
|
||||
fun getSourceFile(sample: String, className: String): SourceFile {
|
||||
val resourceName = "app/revanced/patcher/patch/annotations/processor/samples/$sample/$className.kt"
|
||||
val resourceName = "app/revanced/patcher/patch/annotation/processor/samples/$sample/$className.kt"
|
||||
return SourceFile.kotlin(
|
||||
"$className.kt",
|
||||
TestPatchAnnotationProcessor::class.java.classLoader.getResourceAsStream(resourceName)
|
||||
|
|
Loading…
Reference in a new issue