Skip to content

Commit

Permalink
clean up despite failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sovdeeth authored and Moderocky committed Jun 1, 2024
1 parent f365e0c commit 919055c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ test "inventory holder location":
set {_inv} to inventory of {_b}
set {_holder} to holder of {_inv}

assert location of {_holder} is location of {_b} with "holder location differs from block location"
set {_a-loc} to location of {_holder}
set {_b-loc} to location of {_b}

set block at {_b} to {_prev}
# clean up first in case assert fails
set block at {_b} to {_prev}

assert {_a-loc} is {_b-loc} with "holder location differs from block location"

0 comments on commit 919055c

Please sign in to comment.