Commit 2847b36
Fix E2E test for Bazel 9.x cquery alias handling
In Bazel 9.x, cquery no longer returns alias targets for Maven dependencies.
The expected results file was expecting these 4 alias targets:
- @@rules_jvm_external++maven+maven//:com_google_code_findbugs_jsr305
- @@rules_jvm_external++maven+maven//:com_google_guava_failureaccess
- @@rules_jvm_external++maven+maven//:com_google_guava_listenablefuture
- @@rules_jvm_external+//private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:AddJarManifestEntry
However, Bazel 9.x cquery only returns the actual file targets, not the
aliases. This is a behavioral change in how Bazel 9.x handles cquery output.
Updated the expected results file to match the actual behavior.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e8c5275 commit 2847b36
2 files changed
Lines changed: 18 additions & 4 deletions
File tree
- cli/src/test/resources/fixture
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
0 commit comments