aboutsummaryrefslogtreecommitdiff
path: root/tests/bcr/other_module/MODULE.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bcr/other_module/MODULE.bazel')
-rw-r--r--tests/bcr/other_module/MODULE.bazel9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bcr/other_module/MODULE.bazel b/tests/bcr/other_module/MODULE.bazel
new file mode 100644
index 00000000..f517abae
--- /dev/null
+++ b/tests/bcr/other_module/MODULE.bazel
@@ -0,0 +1,9 @@
+module(name = "other_module")
+
+bazel_dep(name = "rules_go", version = "")
+
+go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
+
+# Request an invalid SDK to verify that it isn't fetched since the test module registers a toolchain
+# that takes precedence.
+go_sdk.download(version = "3.0.0")