diff --git a/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc b/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc index ddb0495881cf..7a9cfc77ac29 100644 --- a/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc +++ b/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc @@ -2253,9 +2253,9 @@ if they exceed the configured maximum length. The limit is configurable via the `junit.jupiter.params.displayname.argument.maxlength` configuration parameter and defaults to 512 characters. -When using `@MethodSource` or `@ArgumentsSource`, you can provide custom names for -arguments using the `{Named}` API. A custom name will be used if the argument is included -in the invocation display name, like in the example below. +When using `@MethodSource`, `@FieldSource`, or `@ArgumentsSource`, you can provide custom +names for arguments using the `{Named}` API. A custom name will be used if the argument is +included in the invocation display name, like in the example below. [source,java,indent=0] ----