Skip to content

Commit

Permalink
Update Bazel to 7.0.2 (#174)
Browse files Browse the repository at this point in the history
* Update Bazel to 7.0.2

* Fix the tests

* Revert

* more
  • Loading branch information
Bencodes authored Feb 6, 2024
1 parent c47c96c commit 2ec8367
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.2
7.0.2
28 changes: 14 additions & 14 deletions tests/analysis/tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ def _action_full_contents_test_impl(ctx):
assert_argv_contains(env, action, "--parallel")

expected_inputs = _expand_paths(env.ctx, [
"{{source_dir}}/path A.kt",
"{{source_dir}}/path B.kt",
"{{source_dir}}/path C.kt",
"{{source_dir}}/config A.yml",
"{{source_dir}}/config B.yml",
"{{source_dir}}/config C.yml",
"{{source_dir}}/baseline.xml",
"_middlemen/detekt_Swrapper_Sbin-runfiles",
"detekt/wrapper/bin.jar",
"tests/analysis/path A.kt",
"tests/analysis/path B.kt",
"tests/analysis/path C.kt",
"tests/analysis/config A.yml",
"tests/analysis/config B.yml",
"tests/analysis/config C.yml",
"tests/analysis/baseline.xml",
"detekt/wrapper/bin",
"detekt/wrapper/bin.jar",
"_middlemen/detekt_Swrapper_Sbin-runfiles",
])

expected_outputs = _expand_paths(env.ctx, [
Expand Down Expand Up @@ -134,12 +134,12 @@ def _action_blank_contents_test_impl(ctx):
assert_argv_contains_prefix_suffix(env, action, "txt:", _expand_path(ctx, "{{source_dir}}/test_target_blank_detekt_report.txt"))

expected_inputs = _expand_paths(env.ctx, [
"{{source_dir}}/path A.kt",
"{{source_dir}}/path B.kt",
"{{source_dir}}/path C.kt",
"_middlemen/detekt_Swrapper_Sbin-runfiles",
"detekt/wrapper/bin.jar",
"tests/analysis/path A.kt",
"tests/analysis/path B.kt",
"tests/analysis/path C.kt",
"detekt/wrapper/bin",
"detekt/wrapper/bin.jar",
"_middlemen/detekt_Swrapper_Sbin-runfiles",
])

expected_outputs = _expand_paths(env.ctx, [
Expand Down

0 comments on commit 2ec8367

Please sign in to comment.