buoto / gotests-vim Goto Github PK
View Code? Open in Web Editor NEWVim plugin for https://github.com/cweill/gotests
License: MIT License
Vim plugin for https://github.com/cweill/gotests
License: MIT License
Is packer support possible?
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.
Add option to call gotests --all
for current file.
I offen use gotests with -template testify
, just like:
gotests -only "myFuncName" -w -template testify mycode.go
Can this plugin support the arg?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.