Skip to content

Commit 1da4c6e

Browse files
Update src/test_utils.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b67f51b commit 1da4c6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test_utils.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,9 @@ function test_context(context::DynamicPPL.AbstractContext, model::DynamicPPL.Mod
11291129

11301130
# Setting the child context to a leaf should now change the leafcontext accordingly.
11311131
context_with_new_leaf = DynamicPPL.setleafcontext(context, leafcontext_new)
1132-
@test childcontext(context_with_new_leaf) === leafcontext(context_with_new_leaf) === leafcontext_new
1132+
@test childcontext(context_with_new_leaf) ===
1133+
leafcontext(context_with_new_leaf) ===
1134+
leafcontext_new
11331135

11341136
# Make sure that the we can evaluate the model with the context (i.e. that none of the tilde-functions are incorrectly overloaded).
11351137
# The tilde-pipeline contains two different paths: with `SamplingContext` as a parent, and without it.

0 commit comments

Comments
 (0)