Skip to content

Commit

Permalink
Improved test #70
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 30, 2019
1 parent 6a416e1 commit cb9ef66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/java/com/helger/jcodemodel/JPackageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void testInvalidNamesAnyCase ()
// May not be a keyword
try
{
aCM._package ("org.example.var");
aCM._package ("org.example.enum");
fail ();
}
catch (final IllegalArgumentException ex)
Expand Down Expand Up @@ -193,6 +193,9 @@ public void testInvalidNamesAnyCase ()
}
catch (final IllegalArgumentException ex)
{}

// Allow for uppercase stuff
aCM._package ("Org.PUB.blaFooBar.baZ");
}

@Test
Expand Down

0 comments on commit cb9ef66

Please sign in to comment.