package org.purescript.keyword

import com.intellij.testFramework.fixtures.BasePlatformTestCase

class KeywordCompletionContributorTest : BasePlatformTestCase() {
    fun `test do`() {
        val src = """
                    module Main where
                    dof = 1
                    main = d{-caret-}
                    """.trimIndent()
        val replace = src.replace("{-caret-}", "<caret>")
        myFixture.configureByText("Main.purs", replace)
        myFixture.testCompletionVariants("Main.purs", "do", "dof")
    }

}
Add test for do keyword completion
Add test for do keyword completion

intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript