Skip to content

Commit

Permalink
Add some tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Feb 20, 2020
1 parent c4f30e5 commit e9dce7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/util/dns_name_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ func TestDnsName(t *testing.T) {
{"TestQueryDottedServiceName.With.Dots", "testquerydottedservicename-with-dots"},
{"Service🦄", "servicea"},
{"📈Stock-Tracker", "astock-tracker"},
{"-📈Stock-Tracker", "a-stock-tracker"},
{"📈", "a"},
{"foo-", "fooa"},
{"-foo", "afoo"},
}
Expand Down

0 comments on commit e9dce7a

Please sign in to comment.