From 571b1dc8a06ac4d85706ad8877160c1f99e46a56 Mon Sep 17 00:00:00 2001 From: Mehdi Bouaziz Date: Wed, 12 Oct 2022 19:20:01 +0200 Subject: [PATCH] Proto/Tests/Zk_rollup: fix ignored result --- .../lib_protocol/test/unit/test_zk_rollup_storage.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/proto_alpha/lib_protocol/test/unit/test_zk_rollup_storage.ml b/src/proto_alpha/lib_protocol/test/unit/test_zk_rollup_storage.ml index f776e4c9cc6c..eee8701710b1 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_zk_rollup_storage.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_zk_rollup_storage.ml @@ -209,8 +209,9 @@ module Raw_context_tests = struct let* address = Zk_rollup_repr.Address.from_nonce (Origination_nonce.incr nonce) |> wrap in - let*! _e = Zk_rollup_storage.add_to_pending ctx address [op] >>= wrap in - return_unit + let*! e = Zk_rollup_storage.add_to_pending ctx address [op] >>= wrap in + let expected_message = "Storage error (fatal internal error)" in + Assert.proto_error_with_info ~loc:__LOC__ e expected_message end let tests = -- GitLab