Skip to content

Commit

Permalink
Add first ever JUnit tests
Browse files Browse the repository at this point in the history
- Cover SimpleNameTest with a couple of test cases
- Ensure they pass
  • Loading branch information
scroix committed Apr 20, 2024
1 parent 9a0ebd2 commit b1a73ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void testGetOriginalName(String originalName) {
"node.name, nodename",
"node name, nodename"
})
void testGetReducedName(String originalName, String expectedReducedName) {
public void testGetReducedName(String originalName, String expectedReducedName) {
SimpleName name = new SimpleName(originalName);
assertEquals(expectedReducedName, name.getReducedName());
}
Expand Down

0 comments on commit b1a73ad

Please sign in to comment.