aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/TestAPI.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt
index 285ffa28..33688053 100644
--- a/test/src/TestAPI.kt
+++ b/test/src/TestAPI.kt
@@ -105,7 +105,8 @@ class InMemoryLocation(override val path: String): Location {
}
object InMemoryLocationService: LocationService {
- override fun location(node: DocumentationNode) = InMemoryLocation(relativePathToNode(node))
+ override fun location(qualifiedName: List<String>, hasMembers: Boolean) =
+ InMemoryLocation(relativePathToNode(qualifiedName, hasMembers))
}
val tempLocation = InMemoryLocation("")