Fix crashes in AutofillControllerTest.KeyValueFocusChange
The test is likely crashing because of out of bounds exception. Using ASSERT_EQ instead of EXPECT_EQ should stop the test before accessing invalid index. This CL does not fix the failing test, it just replaces crash with a graceful failure. Bug: 1060251 Change-Id: I214a4aae84274f5c191ad665c906743cc3f856d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094709 Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Auto-Submit: Eugene But <eugenebut@chromium.org> Reviewed-by:Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#749079}
Showing
Please register or sign in to comment