diff options
author | Olivier Blanvillain <olivier.blanvillain@gmail.com> | 2017-04-13 11:09:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 11:09:03 +0200 |
commit | d1cbf5fd02ecb7a9531a90014881ad2f416af4fb (patch) | |
tree | 3e25fe624fefaeebd22d6e7c395703e00b65bafc /docs/docs/contributing/workflow.md | |
parent | 3a9deec8e7a3a093e9b56461650857c4cb7a9d8c (diff) | |
parent | 8f049417a7254564bb69cb5b5296222d5f8157b1 (diff) | |
download | dotty-d1cbf5fd02ecb7a9531a90014881ad2f416af4fb.tar.gz dotty-d1cbf5fd02ecb7a9531a90014881ad2f416af4fb.tar.bz2 dotty-d1cbf5fd02ecb7a9531a90014881ad2f416af4fb.zip |
Merge pull request #2247 from dotty-staging/update-filterTest-name-in-doc
Update intructions to run a single test
Diffstat (limited to 'docs/docs/contributing/workflow.md')
-rw-r--r-- | docs/docs/contributing/workflow.md | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/docs/contributing/workflow.md b/docs/docs/contributing/workflow.md index 3c654e8f6..b277cc243 100644 --- a/docs/docs/contributing/workflow.md +++ b/docs/docs/contributing/workflow.md @@ -57,20 +57,15 @@ $ sbt To test a specific test tests/x/y.scala (for example tests/pos/t210.scala): ```bash -> filterTest .*pos/t210.scala +> vulpix pos/t210.scala ``` -The filterTest task takes a regular expression as its argument. For example, -you could run a negative and a positive test with: +The `vulpix` task uses its argument for a substring test. For example, you +could run both a negative and a positive test with the same name +(`pos/i2101.scala` & `neg/i2101.scala`): ```bash -> filterTest (.*pos/t697.scala)|(.*neg/i2101.scala) -``` - -or if they have the same name, the equivalent can be achieved with: - -```bash -> filterTest .*/i2101.scala +> vulpix i2101.scala ``` ## Inspecting Trees with Type Stealer ## |