From a5c6b6578d59a517de5b656ed251cf3e43c9a035 Mon Sep 17 00:00:00 2001 From: Googler Date: Fri, 5 Nov 2021 08:53:43 -0700 Subject: [PATCH] Fix "excedeed" typo in error message. PiperOrigin-RevId: 407832948 --- .../build/lib/analysis/RuleConfiguredTargetBuilder.java | 2 +- .../devtools/build/lib/starlark/StarlarkIntegrationTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java b/src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java index accd20941edddd..f3d11cbebc6058 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/RuleConfiguredTargetBuilder.java @@ -213,7 +213,7 @@ public ConfiguredTarget build() throws ActionConflictException, InterruptedExcep if (depCount > ruleContext.getConfiguration().analysisTestingDepsLimit()) { ruleContext.ruleError( String.format( - "analysis test rule excedeed maximum dependency edge count. " + "analysis test rule exceeded maximum dependency edge count. " + "Count: %s. Limit is %s. This limit is imposed on analysis test rules which " + "use analysis_test_transition attribute transitions. Exceeding this limit " + "indicates either the analysis_test has too many dependencies, or the " diff --git a/src/test/java/com/google/devtools/build/lib/starlark/StarlarkIntegrationTest.java b/src/test/java/com/google/devtools/build/lib/starlark/StarlarkIntegrationTest.java index cc186b0d942af2..7153d9aaa4e4bc 100644 --- a/src/test/java/com/google/devtools/build/lib/starlark/StarlarkIntegrationTest.java +++ b/src/test/java/com/google/devtools/build/lib/starlark/StarlarkIntegrationTest.java @@ -2650,7 +2650,7 @@ public void testAnalysisTestOverDepsLimit() throws Exception { reporter.removeHandler(failFastHandler); getConfiguredTarget("//test:r"); assertContainsEvent( - "analysis test rule excedeed maximum dependency edge count. " + "Count: 14. Limit is 10."); + "analysis test rule exceeded maximum dependency edge count. " + "Count: 14. Limit is 10."); } @Test