From 5fdb138924f59703a6a4fcd0cdcde6d1a224a950 Mon Sep 17 00:00:00 2001 From: Kirill Gavrilov Date: Fri, 22 Jul 2022 02:18:07 +0300 Subject: [PATCH] Fix @ArgumentsSource annotation name in user guide (#2980) --- 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 d775251366b..568c72b689a 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.