mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
language/java: fix code-hint to use the correct language
This block now shows java code, so changing the code-hint to make sure it's highlighted correctly. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -151,14 +151,14 @@ The build output is truncated for simplicity, but you can see that our tests ran
|
||||
|
||||
Open the `src/test/java/org/springframework/samples/petclinic/model/ValidatorTests.java` file and change the assertion
|
||||
|
||||
```shell
|
||||
assertThat(violation.getMessage()).isEqualTo("must not be empty");
|
||||
```java
|
||||
assertThat(violation.getMessage()).isEqualTo("must not be empty");
|
||||
```
|
||||
|
||||
with the following.
|
||||
|
||||
```shell
|
||||
assertThat(violation.getMessage()).isEqualTo("must be empty");
|
||||
```java
|
||||
assertThat(violation.getMessage()).isEqualTo("must be empty");
|
||||
```
|
||||
|
||||
Now, run the `docker build` command from above and observe that the build fails and the failing testing information is printed to the console.
|
||||
|
||||
Reference in New Issue
Block a user