Skip to content

Undefined variable after recent update #9

@jakereps

Description

@jakereps

Hey 👋! I recently updated this plugin, and am experiencing an error when trying to generate tests - seemingly related to this change. I'm not sure if this is a bug, or if there's something I need to do on my end to fix it to be able to generate tests now.

Error in nvim:

Error detected while processing function gotests#alltests:                                                                                                                                            │
line   10:                                                                                                                                                                                            │
E121: Undefined variable: g:gotests_template                                                                                                                                                          │
E116: Invalid arguments for function empty                                                                                                                                                            │
Press ENTER or type command to continue                                                                                                                                                               │

I've tried modifying locally to change the newly introduced tabs to spaces to see if that helped (as the entire file uses spaces except for the 4 new lines now use tabs), but it didn't seem to change the outcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions