From 52c874ab42cd266d1b26ce1c045fcaf8eb410b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Mon, 7 Oct 2024 22:17:40 +0200 Subject: Handle unknown object type Changelog: Handle unknown object type --- test/storage.test | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'test/storage.test') diff --git a/test/storage.test b/test/storage.test index 3d898b1..2a53bb8 100644 --- a/test/storage.test +++ b/test/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") -- cgit v1.2.3