From a8af25476577999c33c34f5971a03251658c340d Mon Sep 17 00:00:00 2001 From: N Jain Date: Sat, 20 Sep 2014 16:56:19 -0700 Subject: [PATCH] Fix description of test file to be tests.groovy Corrected the documentation to refer to file as tests.groovy, rather than test.groovy. Updated cope snippet as tests.groovy should expect "Hello World!" rather than "Hello World". Closes gh-1593 --- spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc index 8075b850993..e4241c4df25 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc @@ -220,7 +220,7 @@ In this example, `tests.groovy` contains JUnit `@Test` methods or Spock `Specifi classes. All the common framework annotations and static methods should be available to you without having to `import` them. -Here is the `test.groovy` file that we used above (with a JUnit test): +Here is the `tests.groovy` file that we used above (with a JUnit test): [source,groovy,indent=0] ---- @@ -228,7 +228,7 @@ Here is the `test.groovy` file that we used above (with a JUnit test): @Test void homeSaysHello() { - assertEquals("Hello World", new WebApplication().home()) + assertEquals("Hello World!", new WebApplication().home()) } }