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

test: go 1.21 compatibility #204

Merged
merged 1 commit into from
Sep 18, 2023
Merged

test: go 1.21 compatibility #204

merged 1 commit into from
Sep 18, 2023

Conversation

Edholm
Copy link
Member

@Edholm Edholm commented Sep 18, 2023

Go 1.21 added an optimization that broke one of our tests. Comparing context is not well-defined in Go so we compare a value inside the context instead.

This should work regardless of Go version I hope...

Go 1.21 added an optimization that broke one of our tests. Comparing
context is not well-defined in Go so we compare a value inside the
context instead.

This should work regardless of Go version I hope...
@Edholm Edholm requested a review from a team as a code owner September 18, 2023 05:56
@codecov-commenter
Copy link

Codecov Report

Merging #204 (abd3d3f) into master (8f5df70) will decrease coverage by 0.11%.
Report is 80 commits behind head on master.
The diff coverage is 33.33%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
- Coverage   55.20%   55.09%   -0.11%     
==========================================
  Files          62       62              
  Lines        3556     3561       +5     
==========================================
- Hits         1963     1962       -1     
- Misses       1484     1490       +6     
  Partials      109      109              
Files Changed Coverage Δ
internal/generate/file.go 0.00% <0.00%> (ø)
pkg/dbc/parser.go 61.41% <100.00%> (+0.11%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Member

@kutkaite kutkaite left a comment

Choose a reason for hiding this comment

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

🤞🏻

@Edholm Edholm merged commit abd3d3f into master Sep 18, 2023
1 check passed
@Edholm Edholm deleted the test/1.21-compatability branch September 18, 2023 06:02
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.

3 participants