From d766fc3d14a3aa9c2a33b55477283a8d0cb9e18c Mon Sep 17 00:00:00 2001 From: ThomasBreuer Date: Fri, 30 Aug 2024 09:53:27 +0200 Subject: [PATCH] fix a test The tests ``` @test GAP.Packages.install("fga", interactive = false) @test ! isempty(GAP.Packages.locate_package("fga")) ``` pass only if the FGA package was already loaded before the tests, which is the case in usual installations. If one starts GAP without packages (`-A` option) then the second test fails. One has to load the package in order to be sure that `locate_package` returns a nonempty result. --- test/packages.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/packages.jl b/test/packages.jl index 91df1a39..54fab790 100644 --- a/test/packages.jl +++ b/test/packages.jl @@ -6,6 +6,7 @@ @test GAP.Packages.locate_package("no such package") == "" @test GAP.Packages.install("fga", interactive = false) + @test GAP.Packages.load("fga") @test ! isempty(GAP.Packages.locate_package("fga")) @test ! isempty(GAP.Packages.locate_package("FGA")) @test GAP.Packages.remove("fga", interactive = false)