Skip to content

Commit be8a1b3

Browse files
penelopeysmmhauru
andauthored
Add some line breaks
Co-authored-by: Markus Hauru <[email protected]>
1 parent ab3e8da commit be8a1b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/contexts.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
449449
1.0 ~ Normal()
450450
return nothing
451451
end
452+
452453
function test_generating_new_values(strategy::AbstractInitStrategy)
453454
@testset "generating new values: $(typeof(strategy))" begin
454455
# Check that init!! can generate values that weren't there
@@ -469,6 +470,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
469470
end
470471
end
471472
end
473+
472474
function test_replacing_values(strategy::AbstractInitStrategy)
473475
@testset "replacing old values: $(typeof(strategy))" begin
474476
# Check that init!! can overwrite values that were already there.
@@ -488,6 +490,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
488490
end
489491
end
490492
end
493+
491494
function test_rng_respected(strategy::AbstractInitStrategy)
492495
@testset "check that RNG is respected: $(typeof(strategy))" begin
493496
model = test_init_model()
@@ -508,6 +511,7 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
508511
end
509512
end
510513
end
514+
511515
function test_link_status_respected(strategy::AbstractInitStrategy)
512516
@testset "check that varinfo linking is preserved: $(typeof(strategy))" begin
513517
@model logn() = a ~ LogNormal()

0 commit comments

Comments
 (0)