Skip to content

Commit e280243

Browse files
authored
Fix test.md (#2679)
1 parent 3d2a670 commit e280243

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

website/docs/commands/test.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,22 @@ Test sources are compiled separately (after the 'main' sources), and may use dif
1010
and other configurations.
1111

1212
By default, all command line options apply to both the main and test sources,
13-
so [using directives](../guides/introduction/using-directives.md) (
14-
or [special imports](../guides/introduction/configuration#special-imports)) can be used to provide test-specific configurations.
13+
so [using directives](../guides/introduction/using-directives.md) can be used to provide test-specific configurations.
1514

1615
## Test sources
1716

1817
A source file is treated as test source if:
1918

2019
- the file name ends with `.test.scala`, or
2120
- the file comes from a directory that is provided as input, and the relative path from that file to its original
22-
directory contains a `test` directory
23-
- it contains the `//> using target.scope test` directive, or
21+
directory contains a `test` directory, or
22+
- it contains the `//> using target.scope test` directive
2423

2524
:::caution
2625
The `using target` directives are an experimental feature, and may change in future versions of Scala CLI.
2726
:::
2827

29-
The last rule may sound a bit complicated, so let's explain it using following directory structure:
28+
The second rule may sound a bit complicated, so let's explain it using following directory structure:
3029

3130
<ChainedSnippets>
3231

0 commit comments

Comments
 (0)