diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-10-07 22:17:40 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-10-07 22:17:40 +0200 |
commit | 49d91088e853167083aa6c9823adfe7a3cadb6c5 (patch) | |
tree | a186f638728ec43e197c2912ff6f8440c629345c /storage.test | |
parent | de94b20c766cc4006338f12fba0ce19dbbb89251 (diff) |
(test) Handle unknown object type
Changelog: Handle unknown object type
Diffstat (limited to 'storage.test')
-rw-r--r-- | storage.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/storage.test b/storage.test index 3d898b1..2a53bb8 100644 --- a/storage.test +++ b/storage.test @@ -474,3 +474,25 @@ test LocalStateKeepUnknown: local: expect /load-(.*)/ capture done guard (done == "done") + + +test UnknownObjectType: + let refpat = /blake2#[0-9a-f]*/ + + spawn as p + spawn as p2 on p.node + + with p: + send: + "store test-unknown" + "TEST" + "" + expect /store-done ($refpat)/ capture r1 + + with p2: + send "load $r1" + expect /load-type test-unknown 5/ + expect /load-line TEST/ + local: + expect /load-(.*)/ capture done + guard (done == "done") |