Skip to content

Commit

Permalink
Fix compile error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Dec 28, 2023
1 parent 1010b69 commit 3e6862b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MagicCommentPsiTest : BasePlatformTestCase() {

fun `test get magic comment for command`() {
myFixture.configureByText(LatexFileType, "%! suppress = FileNotFound\n\\documentclass{article}")
val command = LatexCommandsIndex.getCommandsByName("\\documentclass", myFixture.file).first()
val command = LatexCommandsIndex.Util.getCommandsByName("\\documentclass", myFixture.file).first()
val magic = command.magicComment()
Assertions.assertEquals(arrayListOf("suppress = FileNotFound"), magic.toCommentString())
}
Expand Down

0 comments on commit 3e6862b

Please sign in to comment.