From 22e5c109587dba4f74e86495fb016e1318f73245 Mon Sep 17 00:00:00 2001 From: Kirill Gavrilov Date: Sun, 17 Jul 2022 23:53:05 +0300 Subject: [PATCH] Fix @ArgumentsSource annotation name --- documentation/src/docs/asciidoc/user-guide/writing-tests.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc b/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc index d775251366ba..568c72b689aa 100644 --- a/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc +++ b/documentation/src/docs/asciidoc/user-guide/writing-tests.adoc @@ -1851,7 +1851,7 @@ 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 `@ArgumentSource`, you can provide custom names for +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.