aboutsummaryrefslogtreecommitdiff
path: root/test/json/main.ml
diff options
context:
space:
mode:
authorarie <arie@alleycat.cc>2021-05-05 23:13:55 +0200
committerarie <arie@alleycat.cc>2021-05-05 23:13:55 +0200
commit2e85bf6fb7719993089f99bb0e70a1002391a4c0 (patch)
tree1ff1f8af080885e584aa06e26d62b21fcd2ba62f /test/json/main.ml
parent03a6d544cba33f2a7be45b3ddded606bf3dc84f3 (diff)
Rdf-json:
fix bug in decode_object
Diffstat (limited to 'test/json/main.ml')
-rw-r--r--test/json/main.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/json/main.ml b/test/json/main.ml
index 8e116cd..2b2073d 100644
--- a/test/json/main.ml
+++ b/test/json/main.ml
@@ -17,7 +17,8 @@ let encode_decode_predicate =
let encode_decode_object =
QCheck.Test.make ~name:"decode encode object"
Rdf_gen.object'
- (fun object' -> Triple.Object.equal
+ (fun object' ->
+ Triple.Object.equal
object'
(object' |> Rdf_json.encode_object |> Rdf_json.decode_object))