go-lang-plugin-org / go-lang-idea-plugin

Google Go language IDE built using the IntelliJ Platform
https://plugins.jetbrains.com/plugin/5047
Other
4.56k stars 571 forks source link

Receiving Incorrect Error - "not enough arguments in call to ..." #2894

Closed rjdlee closed 6 years ago

rjdlee commented 7 years ago
func Eventually(actual interface{}, intervals ...interface{}) GomegaAsyncAssertion {
    return EventuallyWithOffset(0, actual, intervals...)
}

...

// Plugin errors with "not enough arguments in call to Eventually"
Eventually(func() int {
            return len(0)
        }, 5 * time.Second, time.Second).Should(Equal(0))
dlsniper commented 7 years ago

You can uninstall the plugin you are using and install the JetBrains supported one, https://plugins.jetbrains.com/plugin/9568-go (you can find it in the IDE as well). That problem should be solved there. Hope it helps.