Skip to content

Commit 6d8f712

Browse files
committed
Update test for empty array in model macro
1 parent 0a2aa29 commit 6d8f712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/graph_construction_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2011,10 +2011,10 @@ end
20112011

20122012
@model function empty_array_model()
20132013
x = []
2014+
@test isempty(x)
20142015
end
20152016

20162017
model = create_model(empty_array_model()) do model, ctx
20172018
return (;)
20182019
end
2019-
@test model isa GraphPPL.Model
20202020
end

0 commit comments

Comments
 (0)