diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-01 19:29:32 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | 4a4a45e9a4a881a6c9a30722089bec7d3cc07e8c (patch) | |
tree | f10b6a00dfbcd061da160a63007fbe7c593f6501 /test/fixtures/json | |
parent | Name, rather than number, shared_ptr tests (diff) | |
download | ilt-4a4a45e9a4a881a6c9a30722089bec7d3cc07e8c.tar.bz2 ilt-4a4a45e9a4a881a6c9a30722089bec7d3cc07e8c.tar.xz ilt-4a4a45e9a4a881a6c9a30722089bec7d3cc07e8c.zip |
Error on bad cast of referenced object
Diffstat (limited to 'test/fixtures/json')
-rw-r--r-- | test/fixtures/json/shared_ptr_wrong_type.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/fixtures/json/shared_ptr_wrong_type.json b/test/fixtures/json/shared_ptr_wrong_type.json new file mode 100644 index 0000000..68f7533 --- /dev/null +++ b/test/fixtures/json/shared_ptr_wrong_type.json @@ -0,0 +1,8 @@ +{ + "@typeid": "SharedTestObject", + "sptr": { + "@typeid": "SubObject2", + "@id": "someid" + }, + "ssptr": "someid" +} |