Skip to content

Commit

Permalink
Update test for empty array in model macro
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterwln committed Jan 7, 2025
1 parent 0a2aa29 commit 6d8f712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/graph_construction_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2011,10 +2011,10 @@ end

@model function empty_array_model()
x = []
@test isempty(x)
end

model = create_model(empty_array_model()) do model, ctx
return (;)
end
@test model isa GraphPPL.Model
end

0 comments on commit 6d8f712

Please sign in to comment.