Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Does package name github.com/stretchr/testify/assert correct ? #23

Closed
merlintang opened this issue Apr 23, 2019 · 8 comments
Closed

Does package name github.com/stretchr/testify/assert correct ? #23

merlintang opened this issue Apr 23, 2019 · 8 comments

Comments

@merlintang
Copy link
Contributor

For the test job of common,
the assert function i.e., https://github.com/stretchr/testify/assert is already moved to
https://github.com/stretchr/testify/tree/master/assert. Should we also change the related https://github.com/kubeflow/common/blob/master/job_controller/job_test.go#L9 as well ?

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@gaocegege
Copy link
Member

Sorry, I am a little confused. Do you mean the package is moved?

@merlintang
Copy link
Contributor Author

Sorry, I am a little confused. Do you mean the package is moved?

yes, the package name is changed. thus import old name would bring error.

@gaocegege
Copy link
Member

We have vendored the dep, thus it may not affect us now. BTW, what's the name of the package is now? https://github.com/stretchr/testify/tree/master/assert 's package name is github.com/stretchr/testify/assert, which is same as the name in the current code.

@merlintang
Copy link
Contributor Author

@gaocegege thanks for clarify. close this.

@merlintang
Copy link
Contributor Author

@gaocegege I do not see the dep in the common directory, do we have prepared the vendor dep ?

@terrytangyuan
Copy link
Member

@merlintang No we are not keeping vendor in the repo yet (currently it’s gitignored). I just opened #28 so let's discuss this separate issue there.

@merlintang
Copy link
Contributor Author

@terrytangyuan Thanks for following up this.

georgkaleido pushed a commit to georgkaleido/common that referenced this issue Jun 9, 2022
* [BGR-28] Canva ECR Docker push
* [BGR-28] fix Dangerfile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants