From 5c61433a0845134602d4a96d44050d47974039c0 Mon Sep 17 00:00:00 2001 From: katrinafyi <39479354+katrinafyi@users.noreply.github.com> Date: Thu, 7 Aug 2025 01:15:53 +1000 Subject: [PATCH] docs: fix task name for scaladoc/testOnly --- docs/_docs/contributing/scaladoc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/contributing/scaladoc.md b/docs/_docs/contributing/scaladoc.md index 05bcc0166fb6..24161b63b4d2 100644 --- a/docs/_docs/contributing/scaladoc.md +++ b/docs/_docs/contributing/scaladoc.md @@ -71,7 +71,7 @@ input on the command line. From the sbt prompt, `scaladoc/test` runs the tests. You can also run specific signature tests with `testOnly`, -for example `scaladoc/test *scaladoc.signatures.MarkdownCode`. +for example `scaladoc/testOnly *scaladoc.signatures.MarkdownCode`. Most tests rely on comparing signatures (of classes, methods, objects etc.) extracted from the generated documentation to signatures found in source files (extracted using Scalameta). Such tests are defined using [SignatureTest](test/dotty/tools/scaladoc/signatures/SignatureTest.scala) class