Skip to content

Commit 6c4189c

Browse files
committed
Remove docs for passing tasty pattern using cabal run
1 parent 4cc51d3 commit 6c4189c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/contributing/contributing.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,7 @@ $ cabal test func-test --test-option "-p hlint"
100100
```
101101

102102
The above recompiles everything every time you use a different test option though.
103-
104-
An alternative, which only recompiles when tests (or dependencies) change:
105-
106-
```bash
107-
$ cabal run haskell-language-server:func-test -- -p "hlint enables"
108-
```
109-
110-
Yet another way to pass the pattern without recompilation is to use the `TASTY_PATTERN` environment variable.
111-
Run any of the `cabal test` commands above and set it to your pattern, e.g.:
103+
An alternative, which only recompiles when tests (or dependencies) change is to pass the `TASTY_PATTERN` environment variable:
112104

113105
```bash
114106
$ TASTY_PATTERN='hlint' cabal test func-test

0 commit comments

Comments
 (0)