Skip to content

Commit

Permalink
Check for case-insensitive comparison for KIND
Browse files Browse the repository at this point in the history
  • Loading branch information
mangstadt committed Aug 23, 2023
1 parent acbeb66 commit 414d40b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/java/ezvcard/property/KindTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class KindTest {
@Test
public void isIndividual() {
Kind kind = new Kind("individual");
Kind kind = new Kind("Individual");
assertTrue(kind.isIndividual());
assertFalse(kind.isGroup());
assertFalse(kind.isOrg());
Expand All @@ -52,7 +52,7 @@ public void isIndividual() {

@Test
public void isGroup() {
Kind kind = new Kind("group");
Kind kind = new Kind("Group");
assertFalse(kind.isIndividual());
assertTrue(kind.isGroup());
assertFalse(kind.isOrg());
Expand All @@ -63,7 +63,7 @@ public void isGroup() {

@Test
public void isOrg() {
Kind kind = new Kind("org");
Kind kind = new Kind("Org");
assertFalse(kind.isIndividual());
assertFalse(kind.isGroup());
assertTrue(kind.isOrg());
Expand All @@ -74,7 +74,7 @@ public void isOrg() {

@Test
public void isLocation() {
Kind kind = new Kind("location");
Kind kind = new Kind("Location");
assertFalse(kind.isIndividual());
assertFalse(kind.isGroup());
assertFalse(kind.isOrg());
Expand All @@ -85,7 +85,7 @@ public void isLocation() {

@Test
public void isApplication() {
Kind kind = new Kind("application");
Kind kind = new Kind("Application");
assertFalse(kind.isIndividual());
assertFalse(kind.isGroup());
assertFalse(kind.isOrg());
Expand All @@ -96,7 +96,7 @@ public void isApplication() {

@Test
public void isDevice() {
Kind kind = new Kind("device");
Kind kind = new Kind("Device");
assertFalse(kind.isIndividual());
assertFalse(kind.isGroup());
assertFalse(kind.isOrg());
Expand Down

0 comments on commit 414d40b

Please sign in to comment.