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

tests: use t.TempDir() for tests #126

Merged
merged 1 commit into from
Apr 12, 2024
Merged

tests: use t.TempDir() for tests #126

merged 1 commit into from
Apr 12, 2024

Conversation

jeffbean
Copy link

@jeffbean jeffbean commented Apr 4, 2024

1.15 added https://pkg.go.dev/testing#T.TempDir

includes .gitattributes to ensure eol as LF

1.15 added https://pkg.go.dev/testing#T.TempDir

includes .gitattributes to ensure eol as LF
@jeffbean jeffbean requested a review from echohead April 4, 2024 02:24
@jeffbean jeffbean changed the title tests: replace t.TempDir() for tests tests: use t.TempDir() for tests Apr 12, 2024
@echohead echohead closed this Apr 12, 2024
@echohead echohead reopened this Apr 12, 2024
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.03%. Comparing base (c5e730e) to head (da08395).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
+ Coverage   75.94%   77.03%   +1.08%     
==========================================
  Files           7        7              
  Lines        1193     1193              
==========================================
+ Hits          906      919      +13     
+ Misses        196      186      -10     
+ Partials       91       88       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@echohead echohead merged commit 2480e3d into master Apr 12, 2024
23 checks passed
@jeffbean jeffbean deleted the go-test-changes branch April 12, 2024 22:37
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