Cleanup offensive terms in spellcheck_unittest.cc
- The tests now use the testing locale "xx-XX", which marks certain words offensive to make this unit test correct. - Re-enabled the remaining part of the test since the suggestions are now sped up. - Added extra test check to verify spellchecker loaded the local correctly, otherwise it defaults to en-US Bug: 981132, 673424 Change-Id: Idc84ddba5dc40a2bd2b47cc6fa58a622ab30ca2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1701958 Commit-Queue: Mohamed Mansour <mmansour@microsoft.com> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#685304}
Showing
Please register or sign in to comment