Skip to content

Commit 86054b3

Browse files
committed
No need to empty!! if it's not mutated
1 parent 3bad454 commit 86054b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ end
7979
@test hash(vn2) == hash(vn1)
8080

8181
function test_base(vi_original)
82-
vi = empty!!(deepcopy(vi_original))
82+
vi = deepcopy(vi_original)
8383
@test getlogp(vi) == 0
8484
@test isempty(vi[:])
8585

0 commit comments

Comments
 (0)