Skip to content

Commit b668be3

Browse files
committed
Move example indices to local test
1 parent 7d1e4f4 commit b668be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/varinfo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ using Distributions
1111
using ForwardDiff: Dual
1212
using Test
1313

14-
i, j, k = 1, 2, 3
15-
1614
dir = splitdir(splitdir(pathof(DynamicPPL))[1])[1]
1715
include(dir*"/test/test_utils/AllUtils.jl")
1816

@@ -341,6 +339,8 @@ include(dir*"/test/test_utils/AllUtils.jl")
341339
chain = sample(priorsinarray(xs), HMC(0.01, 10), 10)
342340
end
343341
@testset "varname" begin
342+
i, j, k = 1, 2, 3
343+
344344
vn1 = @varname x[1]
345345
@test vn1 == VarName(:x, ((1,),))
346346

0 commit comments

Comments
 (0)