Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jul 18, 2023
1 parent 07c21e5 commit 0754581
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Expand Up @@ -24,6 +24,10 @@ print(p1.age) """
val psiElement = (psiFile as PyFile).topLevelClasses[0]
val classContext: ClassContext = ClassContextProvider(false).from(psiElement)

assertEquals(classContext.toQuery(), "");
assertEquals(classContext.toQuery(), """class name: _
class fields:
class methods:
super classes: null
""");
}
}
3 changes: 1 addition & 2 deletions src/main/resources/META-INF/autodev-core.xml
Expand Up @@ -55,8 +55,7 @@
</extensionPoint>

<extensionPoint qualifiedName="cc.unitmesh.variableContextBuilder"
beanClass="com.intellij.lang.LanguageExtensionPoint"
dynamic="true">
beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass"
implements="cc.unitmesh.devti.context.builder.VariableContextBuilder"/>
</extensionPoint>
Expand Down

0 comments on commit 0754581

Please sign in to comment.