-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: create test data with broken cue dynamically
In https://cuelang.org/cl/1193030, multiple cue files were added in order to test that load.Instances returns build instances sorted by directory and package name. Each cue file belongs to a different package, causing commands like `cue vet ./...` to fail with the following error: found packages "a" (a.cue) and "b" (b.cue) in "cue/load/testdata/testsort" To resolve this these cue files are created dynamically as part of the test, instead of being stored statically on disk. Change-Id: I94661c5446183ad300b37ddf46312821dbd8a66b Signed-off-by: Noam Dolovich <[email protected]> Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195592 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
11 changed files
with
17 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.