From b1183c9ce6e7e391d94c564d079ab464fe00b421 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Sun, 2 Jun 2024 12:18:58 +0200 Subject: [PATCH] =?UTF-8?q?Update=20User=20Guide=20regarding=20@=E2=81=A0F?= =?UTF-8?q?ieldSource?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/docs/asciidoc/user-guide/writing-tests.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] ----