mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '1.1.x'
This commit is contained in:
commit
c2e588a37c
@ -223,7 +223,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]
|
||||
----
|
||||
@ -231,7 +231,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())
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user