Skip to content

Commit 762de51

Browse files
committed
Change variable name to avoid overwriting
1 parent 86054b3 commit 762de51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/varinfo.jl

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

118-
vi = VarInfo()
119-
test_base(vi)
120-
test_base(DynamicPPL.typed_varinfo(vi))
118+
empty_vi = VarInfo()
119+
test_base(empty_vi)
120+
test_base(DynamicPPL.typed_varinfo(empty_vi))
121121
test_base(SimpleVarInfo())
122122
test_base(SimpleVarInfo(Dict()))
123123
test_base(SimpleVarInfo(DynamicPPL.VarNamedVector()))

0 commit comments

Comments
 (0)