Skip to content

Commit

Permalink
Update src/test/java/com/google/devtools/build/lib/bazel/bzlmod/Modul…
Browse files Browse the repository at this point in the history
…eFileFunctionTest.java

Co-authored-by: Xùdōng Yáng <wyverald@gmail.com>
  • Loading branch information
fmeum and Wyverald authored Oct 3, 2024
1 parent 71399dc commit 69400cc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,9 @@ public void testInjectRepo_imported() throws Exception {
ERROR /workspace/MODULE.bazel:5:9: Traceback (most recent call last):
\tFile "/workspace/MODULE.bazel", line 5, column 9, in <toplevel>
\t\tuse_repo(ext, bar = 'foo')
Error in use_repo: Cannot import repo 'foo' that has been injected into module extension 'ext' at /workspace/MODULE.bazel:4:12. Please refer to @my_repo directly.\
Error in use_repo: Cannot import repo 'foo' that has been injected into \
module extension 'ext' at /workspace/MODULE.bazel:4:12. Please refer \
to @my_repo directly.\
""");
}
}

0 comments on commit 69400cc

Please sign in to comment.