Skip to content

Commit

Permalink
Fix test formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ixzzd committed Dec 29, 2023
1 parent bd74b7d commit d6ee0bd
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions tests/all_of.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ open Base

let simple_test _ =
let input =
{| {
{|{
"dummy": {
"type": "object",
"properties": {
"id": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"allOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"allOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
{
"type": "object",
"properties": {
"surname": {
"type": "string"
}
}
{
"type": "object",
"properties": {
"surname": {
"type": "string"
}
]
}
}
]
}
} |}
}|}
in
let output =
{|
Expand All @@ -45,7 +45,7 @@ let simple_test _ =

let with_nested _ =
let input =
{| {
{|{
"MappingType": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -77,7 +77,7 @@ let with_nested _ =
}
}
}
} |}
}|}
in
let output =
{|
Expand Down

0 comments on commit d6ee0bd

Please sign in to comment.