-
Notifications
You must be signed in to change notification settings - Fork 314
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
GoMod: Minor follow-up fixes #7722
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7722 +/- ##
============================================
- Coverage 67.81% 67.74% -0.08%
Complexity 2045 2045
============================================
Files 352 352
Lines 16829 16842 +13
Branches 2380 2385 +5
============================================
- Hits 11412 11409 -3
- Misses 4427 4443 +16
Partials 990 990
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@@ -98,7 +98,7 @@ class GoModFunTest : StringSpec({ | |||
"Project dependencies with a (relative) local module dependency are detected correctly" { | |||
val definitionFileApp = testDir.resolve("gomod-submodules/app/go.mod") | |||
val definitionFileUtils = testDir.resolve("gomod-submodules/utils/go.mod") | |||
val expectedResultFile = testDir.resolve("gomod-submodules-embed-expected-output.yml") | |||
val expectedResultFile = testDir.resolve("gomod-submodules-expected-output.yml") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message: Please explain why "embed" is wrong as part of the name.
The name was a copy / paste mistake from another test which tests handling of dangling references in embed directives. However, this test is not related to embed directives. Signed-off-by: Frank Viernau <[email protected]>
The reason why a `Map` is used is for better performance in the caller logic. So, creating that map better fits into the caller. The function now also aligns better with its KDoc. Signed-off-by: Frank Viernau <[email protected]>
Signed-off-by: Frank Viernau <[email protected]>
Signed-off-by: Frank Viernau <[email protected]>
This is a fix-up for 1886e39. Signed-off-by: Frank Viernau <[email protected]>
Signed-off-by: Frank Viernau <[email protected]>
Signed-off-by: Frank Viernau <[email protected]>
f6ed7c4
to
e491473
Compare
See individual commits.