-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: change stdlib import test case
This test case doesn't check an import that looks like it's from the stdlib but _does_ have a valid identifier. Also add a test case for the situation where there's a directory inside `cue.mod` that looks like a standard library package. It should not be possible to import such a package but currently is (only from the command line). For #2964. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I41e95480fbcb002babdca0bb5e28361f8ee72d17
- Loading branch information
Showing
2 changed files
with
29 additions
and
6 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Note: this is an invalidate substitute for the stdlib strconv | ||
// package and should not be considered for import. | ||
package strconv |