Skip to content

Commit e30be9c

Browse files
authored
Fix References in Developer docs (#5764)
- Replace the 'main' with the 'core' module - Fix reference to the DebugLog Pull request: #5764
1 parent ce47586 commit e30be9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

developer.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ The following table contains the main ways you can test the code in
2626

2727
|===
2828
| Config | Automated Testing | Manual Testing | Manual Testing CI
29-
| In-Process Tests | `main.__.test`, `scalalib.test`, `contrib.buildinfo.test`, etc. | |
29+
| In-Process Tests | `core.__.test`, `scalalib.test`, `contrib.buildinfo.test`, etc. | |
3030
| Sub-Process w/o packaging/publishing| `example.\\__.local.daemon`, `integration.__.local.daemon` | `dist.run` | `test-mill-dev.sh`
3131
| Sub-Process w/ packaging/publishing | `example.\\__.packaged.daemon`, `integration.__.packaged.daemon` | `dist.assembly` | `test-mill-release.sh`
3232
| Bootstrapping: Building Mill with your current checkout of Mill | | `dist.installLocal` | `test-mill-bootstrap.sh`
3333
|===
3434

3535
In general, `println` or `pprint.log` should work in most places and be sufficient for
3636
instrumenting and debugging the Mill codebase. In the occasional spot where `println`
37-
doesn't work you can use `mill.main.client.DebugLog.println` which writes to a file
37+
doesn't work you can use `mill.constants.DebugLog.println` which writes to a file
3838
`~/mill-debug-log.txt` in your home folder. `DebugLog` is useful for scenarios like
3939
debugging Mill's terminal UI (where `println` would mess things up) or subprocesses
4040
(where stdout/stderr may get captured or used and cannot be used to display your own
@@ -46,7 +46,7 @@ In-process tests live in the `.test` sub-modules of the various Mill modules.
4646
These range from tiny unit tests, to larger integration tests that instantiate a
4747
`mill.testkit.BaseModule` in-process and a `UnitTester` to evaluate tasks on it.
4848

49-
Most "core" tests live in `main.__test`; these should run almost instantly, and cover
49+
Most "core" tests live in `core.__.test`; these should run almost instantly, and cover
5050
most of Mill's functionality that is not specific to Scala/Scala.js/etc..
5151
Tests specific to Scala/Scala.js/Scala-Native live in
5252
`scalalib.test`/`scalajslib.test`/`scalanativelib.test` respectively, and take a lot longer

0 commit comments

Comments
 (0)