diff --git a/src/ipc_instances_repo.jl b/src/ipc_instances_repo.jl index 80a17a4..14acf4b 100644 --- a/src/ipc_instances_repo.jl +++ b/src/ipc_instances_repo.jl @@ -72,7 +72,7 @@ function list_collections(repo::IPCInstancesRepo) end function list_domains(repo::IPCInstancesRepo) - domains = reduce(vcat, (c .* list_domains(repo, c) + domains = reduce(vcat, (c * "-" .* list_domains(repo, c) for c in list_collections(repo))) return domains end diff --git a/test/runtests.jl b/test/runtests.jl index b8df2d3..3a2cb1b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -17,6 +17,9 @@ using PlanningDomains: clear_cache!, clear_all_caches! end @testset "IPC Instances repository" begin + domain_names = list_domains(IPCInstancesRepo) + @test !isempty(domain_names) + domain = load_domain(IPCInstancesRepo, domain_names[1]) collection_names = list_collections(IPCInstancesRepo) @test !isempty(collection_names) domain_names = list_domains(IPCInstancesRepo)