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

Fix Clue Mock Gen package name conflict #259

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

douglaswth
Copy link
Member

  • Fix a bug where an alias is not used for the mocked package if it conflicts with one of the other intial imports (this was discovered with a package named testing, but it looks like it could also come up if it was named mock which would conflict with goa.design/clue/mock.
  • Bump version so it will be correct for a new release.

- Fix a bug where an alias is not used for the mocked package if it
  conflicts with one of the other intial imports (this was discovered
  with a package named `testing`, but it looks like it could also come
  up if it was named `mock` which would conflict with
  `goa.design/clue/mock`.
- Bump version so it will be correct for a new release.
@codecov-commenter
Copy link

Codecov Report

Merging #259 (400dbed) into main (0005d44) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #259      +/-   ##
==========================================
- Coverage   94.33%   94.33%   -0.01%     
==========================================
  Files          43       43              
  Lines        2189     2187       -2     
==========================================
- Hits         2065     2063       -2     
  Misses         91       91              
  Partials       33       33              
Flag Coverage Δ
micro 94.33% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mock/cmd/cmg/pkg/generate/mocks.go 100.00% <100.00%> (ø)

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

@douglaswth douglaswth merged commit b014793 into main Jul 21, 2023
1 check passed
@douglaswth douglaswth deleted the douglaswth/fix-cmg-package-name-conflict branch July 21, 2023 23:28
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.

None yet

2 participants