0

Fix typo for wrong_robolectric_test_runner_errors

It should be BaseRobolectricTestRunner, not BaseRobolectricTestRule

Change-Id: Ida88eac8b20dde3d22eab5e8817b001b9e8c71f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6139890
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Wenyu Fu <wenyufu@chromium.org>
Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1401874}
This commit is contained in:
Wenyu Fu
2025-01-03 10:13:26 -08:00
committed by Chromium LUCI CQ
parent 78b5be6aa8
commit 0005ab85ac

@ -7448,7 +7448,7 @@ Robolectric tests do not need a @Batch or @DoNotBatch annotations.
results.append(
output_api.PresubmitPromptWarning(
"""
Robolectric tests should use either @RunWith(BaseRobolectricTestRule.class) (or
Robolectric tests should use either @RunWith(BaseRobolectricTestRunner.class) (or
a subclass of it), or use "@Rule BaseRobolectricTestRule".
""", wrong_robolectric_test_runner_errors))