Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/mod/modimports: remove duplicate test txtar file entry
Switching from our own txtarfs package to upstream's new txtar.FS API surfaced the fact that TestPackageFiles had duplicate file entries for y.cue, leading to an error as the new API is stricter. Our existing logic uses the first entry when there are duplicates, so delete the second. This is verified by the test failing when the first entry is deleted instead. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Ie37a9200b5ed854379ba77884779fbf951cb35bf Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1198172 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information