Skip to content

Commit

Permalink
Update LabelValidatorTest.java
Browse files Browse the repository at this point in the history
Add test case for #
  • Loading branch information
wsxiaoys authored Nov 9, 2016
1 parent e0211eb commit 7a22fc8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void testValidateTargetName() throws Exception {
assertNull(LabelValidator.validateTargetName("foo.bar"));
assertNull(LabelValidator.validateTargetName("foo@bar"));
assertNull(LabelValidator.validateTargetName("foo~bar"));
assertNull(LabelValidator.validateTargetName("foo#bar"));

assertEquals("target names may not end with '/'",
LabelValidator.validateTargetName("foo/"));
Expand Down

0 comments on commit 7a22fc8

Please sign in to comment.