You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
I added the following test case for the DiffLocks method (see lockdiff.go:67) in TestLockDelta(see lockdiff_test.go:59)
"remove all projects and imports" : {
lt: dup.rmII("baz.com/qux").rmII("foo.com/bar").rmProject("baz.com/qux").rmProject("foo.com/bar").rmProject("transitive.com/dependency"),
What did you expect to see?
I expect the following deltas to be populated in the resultant lockDiff
delta: InputImportsChanged | ProjectRemoved,
What did you see instead?
delta: InputImportsChanged
@sdboyer@carolynvs This seems to happen because the project list of RHS LockedProject is required to be non-empty if the ProjectRemoved delta is to be added as a delta.
Is this expected? If not, I can add a PR that handles the case of empty projects in the RHS.
The text was updated successfully, but these errors were encountered:
Thanks for your response. I was waiting for an acknowledgement on this from you guys before I'd attempt a PR. Is my expectation of the delta dimensions correct ?
Could you also send me the details of that bug? That would serve as useful reference.
What version of
dep
are you using (dep version
)?dep 0.5.0
What
dep
command did you run?N/A
I added the following test case for the DiffLocks method (see lockdiff.go:67) in TestLockDelta(see lockdiff_test.go:59)
What did you expect to see?
I expect the following deltas to be populated in the resultant lockDiff
delta: InputImportsChanged | ProjectRemoved,
What did you see instead?
delta: InputImportsChanged
@sdboyer @carolynvs This seems to happen because the project list of RHS LockedProject is required to be non-empty if the ProjectRemoved delta is to be added as a delta.
Is this expected? If not, I can add a PR that handles the case of empty projects in the RHS.
The text was updated successfully, but these errors were encountered: