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

Tuples instead of vectors in tests #193

Merged
merged 3 commits into from
Oct 15, 2022
Merged

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Oct 13, 2022

Explicitly constructing a Tuple ensures that no promotion takes place. This is the intended behavior anyway, and makes tests pass on Julia nightly.

@codecov
Copy link

codecov bot commented Oct 13, 2022

Codecov Report

Merging #193 (0e664c6) into master (d079cf5) will increase coverage by 0.89%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   96.98%   97.87%   +0.89%     
==========================================
  Files           4        4              
  Lines         664      660       -4     
==========================================
+ Hits          644      646       +2     
+ Misses         20       14       -6     
Impacted Files Coverage Δ
src/FillArrays.jl 97.36% <0.00%> (+1.70%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dlfivefifty
Copy link
Member

Probably a tuple is a more accurate way of doing this

@jishnub jishnub changed the title Vector{Any} in tests Tuples instead of vectors in tests Oct 14, 2022
@jishnub
Copy link
Member Author

jishnub commented Oct 15, 2022

Updated now to use Tuples, should be good now I think

@dlfivefifty dlfivefifty merged commit 4709898 into JuliaArrays:master Oct 15, 2022
@jishnub jishnub deleted the anyvector branch October 16, 2022 11:24
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