Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a test #1028

Merged
merged 1 commit into from
Sep 2, 2024
Merged

fix a test #1028

merged 1 commit into from
Sep 2, 2024

Conversation

ThomasBreuer
Copy link
Member

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.

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.
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.82%. Comparing base (a8674da) to head (d766fc3).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1028      +/-   ##
==========================================
+ Coverage   76.73%   76.82%   +0.09%     
==========================================
  Files          51       51              
  Lines        4182     4182              
==========================================
+ Hits         3209     3213       +4     
+ Misses        973      969       -4     

see 1 file with indirect coverage changes

@fingolfin fingolfin merged commit b6cb993 into oscar-system:master Sep 2, 2024
20 of 21 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_locate_package branch September 2, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants