From 6df060eecef19d688645cb18ac2e0421918914a9 Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Sat, 2 Mar 2024 01:32:16 +0200 Subject: [PATCH] again update --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6ffad83..a17a020 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,6 @@ require("gopher").setup { } ``` ->[!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 @@ -112,7 +109,7 @@ require("gopher").setup { ``` ```lua - --- or you can use lua api + -- or you can use lua api require("gopher").tags.add "xml" require("gopher").tags.rm "proto" ``` @@ -130,13 +127,15 @@ require("gopher").setup { " Generate all tests for all functions/methods in the current file :GoTestsAll - " Generate tests only for exported functions/methods in the current file: + " Generate tests for only exported functions/methods in the current file :GoTestsExp ``` ```lua - --- or you can use lua api + -- or you can use lua api require("gopher").test.add() + require("gopher").test.exported() + require("gopher").test.all() ```