Skip to content

Commit

Permalink
Add missing test for locale_types
Browse files Browse the repository at this point in the history
  • Loading branch information
nukosuke committed May 13, 2019
1 parent d4d0837 commit cf914ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions zendesk/locale_types_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package zendesk

import "testing"

func TestLocaleTypeText(t *testing.T) {
if l := LocaleTypeText(LocaleENUS - 1); l != "" {
t.Fatalf("expected empty string, but got %v", l)
}
if l := LocaleTypeText(LocaleENPH + 1); l != "" {
t.Fatalf("expected empty string, but got %v", l)
}
}

0 comments on commit cf914ab

Please sign in to comment.