aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Roubert <roubert@df.lth.se>2014-10-02 17:02:46 +0200
committerFredrik Roubert <roubert@df.lth.se>2014-10-02 17:02:46 +0200
commitef68b6a0255468520edc85dd5372ac9a4bc63f91 (patch)
treef31d28f89c5b2e0e9c15666cff57e9452ff16067
parentaeb80beaac34f4787433b3a8fe7ce3a67cd4270c (diff)
parent62ff34ea13720a986c6993ab40f7878c25691a89 (diff)
downloadsrc-ef68b6a0255468520edc85dd5372ac9a4bc63f91.tar.gz
Merge pull request #22 from lararennie/master
Fixing Java unit-test that fails now that the server data has been updated.
-rw-r--r--java/test/com/android/i18n/addressinput/StandardAddressVerifierTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/com/android/i18n/addressinput/StandardAddressVerifierTest.java b/java/test/com/android/i18n/addressinput/StandardAddressVerifierTest.java
index f2c86f6..1949608 100644
--- a/java/test/com/android/i18n/addressinput/StandardAddressVerifierTest.java
+++ b/java/test/com/android/i18n/addressinput/StandardAddressVerifierTest.java
@@ -136,8 +136,8 @@ public class StandardAddressVerifierTest extends TestCase {
/**
* If there is a postal code pattern for a certain country, and the input postal code is empty,
- * it should not be reported as bad postal code format. Whether empty postal code is ok should
- * be determined by checks for required fields.
+ * it should not be reported as bad postal code format. Whether an empty postal code is ok
+ * should be determined by checks for required fields.
*/
public void testEmptyPostalCodeReportedAsGoodFormat() {
// Chilean address has a postal code format pattern, but does not require
@@ -145,7 +145,7 @@ public class StandardAddressVerifierTest extends TestCase {
AddressData addr = new AddressData.Builder().setCountry("CL")
.setAddressLine1("GUSTAVO LE PAIGE ST #159")
.setAdminArea("Atacama")
- .setLocality("San Pedro")
+ .setLocality("Alto del Carmen")
.setPostalCode("")
.build();
verifier.verify(addr, problems);