Skip to content

Commit

Permalink
Update src/test_utils.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Penelope Yong <[email protected]>
  • Loading branch information
torfjelde and penelopeysm authored Nov 11, 2024
1 parent 1da4c6e commit b551356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ function test_context(context::DynamicPPL.AbstractContext, model::DynamicPPL.Mod
leafcontext_new

# Setting the child context to a leaf should now change the leafcontext accordingly.
context_with_new_leaf = DynamicPPL.setleafcontext(context, leafcontext_new)
context_with_new_leaf = DynamicPPL.setchildcontext(context, leafcontext_new)
@test childcontext(context_with_new_leaf) ===
leafcontext(context_with_new_leaf) ===
leafcontext_new
Expand Down

0 comments on commit b551356

Please sign in to comment.