Skip to content

Commit 6cc2fef

Browse files
authored
Update README.md
Add highlighting
1 parent 86c2aef commit 6cc2fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ base test class that shows you several way to construct these from String, Strea
5353
as it is the way to construct JsonSchema object.
5454

5555

56-
```
56+
```java
5757
/*
5858
* Copyright (c) 2016 Network New Technologies Inc.
5959
*
@@ -134,7 +134,7 @@ public class BaseJsonSchemaValidatorTest {
134134
And the following is one of the test case in one of the test class extends from above base class. As you can see, it constructs JsonSchema
135135
and JsonNode from String.
136136

137-
```
137+
```java
138138
JsonSchema schema = getJsonSchemaFromStringContent("{\"enum\":[1, 2, 3, 4],\"enumErrorCode\":\"Not in the list\"}");
139139
JsonNode node = getJsonNodeFromStringContent("7");
140140
Set<ValidationMessage> errors = schema.validate(node);

0 commit comments

Comments
 (0)