Skip to content

Commit c2008aa

Browse files
committed
Add ~ Escape Ordering test
1 parent 04c9049 commit c2008aa

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

spec_tests.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,19 @@
185185
{ "op": "add", "path": "/baz", "value": "qux", "op": "remove" }
186186
],
187187
"error": "operation has two 'op' members"
188-
}
188+
},
189+
190+
{
191+
"comment": "~ Escape Ordering",
192+
"doc": {
193+
"/": 9,
194+
"~1": 10
195+
},
196+
"patch": [{"op": "test", "path": "/~01", "value":"foo"}],
197+
"expected": {
198+
"/": 9,
199+
"~1": "foo"
200+
}
201+
}
202+
189203
]

0 commit comments

Comments
 (0)