[languages] Earlier exit on finding ambiguous script spans

This commit is contained in:
Al
2015-08-24 03:07:45 -04:00
parent 90f333b16c
commit fa7b855ecb
2 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ country_test_cases = [
('128 A St.', 'ae', 'en'),
# English / Arabic street address
('Omar Street ﺵﺍﺮﻋ ﻊﻣﺭ', 'iq', AMBIGUOUS_LANGUAGE),
('Omar Street شارع عمر', 'iq', AMBIGUOUS_LANGUAGE),
# Random script
('Bayard Street - 擺也街', 'us', AMBIGUOUS_LANGUAGE),