Skip to content

Commit

Permalink
small spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Spurberino committed Apr 8, 2024
1 parent aeddb28 commit 33f1a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/parser/TagAddress.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String getCity() {
return this.get(Address.CITY).toString();
}

public String getContry() {
public String getCountry() {
return this.get(Address.COUNTRY).toString();
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/XMLReaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void getTagByIdTest() {
assertEquals("4600", address.getPostcode());
assertEquals("Bellmansvej", address.getStreet());
assertEquals("1", address.getHouseNumber());
assertEquals("DK", address.getContry());
assertEquals("DK", address.getCountry());
}
}

Expand Down

0 comments on commit 33f1a50

Please sign in to comment.