Skip to content

Commit

Permalink
Add ``` feature for JsonCheck in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrandvd authored Dec 28, 2023
1 parent e11d451 commit a8e4c7c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/check-statements-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ This check passes if the output is a valid JSON and:

This check is great for asserting functions that are going to return a specific JSON.

To make your `.md` files more readable, you can annotate your JSON with ` ``` `:

``````md
### CHECK JsonCheck
```json
{
"name": ["Equals", "Mehran"],
"description": ["SemanticCondition", "It mentions that he is a good software architect."]
}
```
``````

## CHECK Empty
It ensures that the answer is empty.
```md
Expand Down

0 comments on commit a8e4c7c

Please sign in to comment.