diff --git a/README.md b/README.md index ef1b29c3..cdf90cd2 100644 --- a/README.md +++ b/README.md @@ -801,7 +801,7 @@ go test github.com/fredrikaverpil/neotest-golang/x go test github.com/fredrikaverpil/neotest-golang/x/... # run _some_ tests in a given package, based on a regexp filter -go test github.com/fredrikaverpil/neotest-golang -run "^TestFoo$|^TestBar$" +go test github.com/fredrikaverpil/neotest-golang -run "^(^TestFoo$|^TestBar$)$" ``` > [!NOTE]