Skip to content

Commit

Permalink
Remove invalid test: mask parents should not be changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmr1993 authored and georgeee committed Nov 28, 2023
1 parent cc770e5 commit 8c66c3e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib/merkle_ledger_tests/test_mask.ml
Original file line number Diff line number Diff line change
Expand Up @@ -188,17 +188,6 @@ module Make (Test : Test_intf) = struct
(* verify all hashes to root are same in mask and parent *)
compare_maskable_mask_hashes maskable attached_mask dummy_address )

let%test "mask delegates to parent" =
Test.with_instances (fun maskable mask ->
let attached_mask = Maskable.register_mask maskable mask in
(* set to parent, get from mask *)
Maskable.set maskable dummy_location dummy_account ;
let mask_result = Mask.Attached.get attached_mask dummy_location in
Option.is_some mask_result
&&
let mask_account = Option.value_exn mask_result in
Account.equal dummy_account mask_account )

let%test "mask prune after parent notification" =
Test.with_instances (fun maskable mask ->
let attached_mask = Maskable.register_mask maskable mask in
Expand Down

0 comments on commit 8c66c3e

Please sign in to comment.