Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Sep 6, 2024
1 parent 9df7db6 commit 5aa422e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.actions.FileStateValue;
import com.google.devtools.build.lib.actions.FileValue;
import com.google.devtools.build.lib.analysis.BlazeDirectories;
import com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider;
Expand Down Expand Up @@ -1756,13 +1757,13 @@ public void testSingleVersionOverridePatches() throws Exception {
"""
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,1 +1,3 @@
@@ -1,1 +1,2 @@
module(name='bbb',version='1.0',bazel_compatibility=[">=7.0.0"])
+bazel_dep(name='ccc',version='2.0')
""");
differencer.invalidate(
ImmutableList.of(
FileValue.key(RootedPath.toRootedPath(Root.fromPath(rootDirectory), otherPatch))));
FileStateValue.key(RootedPath.toRootedPath(Root.fromPath(rootDirectory), otherPatch))));

result = evaluator.evaluate(ImmutableList.of(moduleFileKey), evaluationContext);
if (result.hasError()) {
Expand Down

0 comments on commit 5aa422e

Please sign in to comment.