Skip to content

Commit a8af254

Browse files
neiljainwilkinsona
authored andcommitted
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
1 parent 468db03 commit a8af254

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ In this example, `tests.groovy` contains JUnit `@Test` methods or Spock `Specifi
220220
classes. All the common framework annotations and static methods should be available to
221221
you without having to `import` them.
222222

223-
Here is the `test.groovy` file that we used above (with a JUnit test):
223+
Here is the `tests.groovy` file that we used above (with a JUnit test):
224224

225225
[source,groovy,indent=0]
226226
----
227227
class ApplicationTests {
228228
229229
@Test
230230
void homeSaysHello() {
231-
assertEquals("Hello World", new WebApplication().home())
231+
assertEquals("Hello World!", new WebApplication().home())
232232
}
233233
234234
}

0 commit comments

Comments
 (0)