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

Add test for LibGAP.jl, fix bug in Base.string method #148

Merged
merged 2 commits into from
Nov 12, 2018

Conversation

fingolfin
Copy link
Member

No description provided.

@fingolfin fingolfin requested a review from sebasguts November 9, 2018 14:04
@codecov
Copy link

codecov bot commented Nov 9, 2018

Codecov Report

Merging #148 into master will decrease coverage by 1.15%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   56.44%   55.29%   -1.16%     
==========================================
  Files          44       42       -2     
  Lines        2599     2465     -134     
==========================================
- Hits         1467     1363     -104     
+ Misses       1132     1102      -30
Impacted Files Coverage Δ
LibGAP.jl/src/gap.jl 100% <100%> (+15.78%) ⬆️
JuliaExperimental/PackageInfo.g
JuliaInterface/PackageInfo.g
JuliaInterface/src/calls.c 99.18% <0%> (+4.91%) ⬆️
LibGAP.jl/src/conversion.jl 100% <0%> (+5.55%) ⬆️
JuliaInterface/src/convert.c 100% <0%> (+9.09%) ⬆️
LibGAP.jl/src/ccalls.jl 100% <0%> (+14.28%) ⬆️
JuliaInterface/src/calls.h 100% <0%> (+22.22%) ⬆️

@fingolfin fingolfin force-pushed the mh/cov branch 2 times, most recently from a1f7a48 to c644f3d Compare November 9, 2018 14:18
@@ -13,7 +13,7 @@ function Base.show( io::IO, obj::Union{MPtr,GAP.GapFFE} )
end

function Base.string( obj::Union{MPtr,GAP.GapFFE} )
str = GAP.String( obj )
str = GAP.Globals.String( obj )
return CSTR_STRING( str )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Shouldn't we use from_gap here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine either way, but I'd prefer to merge it as-is, with minimal changes. But feel free to edit this PR, or change it in another PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be changed later, I guess.

@sebasguts sebasguts merged commit 62f2751 into oscar-system:master Nov 12, 2018
@fingolfin fingolfin deleted the mh/cov branch November 13, 2018 08:59
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