hope it would work

This commit is contained in:
Smirnov Oleksandr 2024-03-01 23:24:10 +02:00
parent df7ad677ba
commit 64c80bee5c

View file

@ -53,22 +53,23 @@ require("gopher").setup {
}
```
>[!IMPORTANT]
>[!NOTE]
>
> For named tests to work you have to install gotests from develop branch. Next code snippets could be placed into the build step in the Lazy plugin declaration
```lua
-- using mason-tool-installer
require("mason-tool-installer").setup {
ensure_installed = {
{ "gotests", version = "develop" },
}
}
-- using `vim.fn.jobstart`
vim.fn.jobstart("go install github.com/cweill/gotests/...@develop")
```
> <details>
> <summary>
> For named tests to work you have to install gotests from develop branch. Next code snippets could be placed into the build step in the Lazy plugin declaration
> </summary>
> ```lua
> -- using mason-tool-installer
> require("mason-tool-installer").setup {
> ensure_installed = {
> { "gotests", version = "develop" },
> }
> }
>
> -- using `vim.fn.jobstart`
> vim.fn.jobstart("go install github.com/cweill/gotests/...@develop")
> ```
## Features