Skip to content

Commit a69e03a

Browse files
committed
vi escapes the scope of the function...
1 parent 7726365 commit a69e03a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/varinfo.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ end
115115
@test ~isempty(vi)
116116
end
117117

118-
vi = VarInfo()
119-
test_base(vi)
120-
test_base(DynamicPPL.typed_varinfo(vi))
118+
test_base(VarInfo())
119+
test_base(DynamicPPL.typed_varinfo(VarInfo()))
121120
test_base(SimpleVarInfo())
122121
test_base(SimpleVarInfo(Dict()))
123122
test_base(SimpleVarInfo(DynamicPPL.VarNamedVector()))

0 commit comments

Comments
 (0)