diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-04-16 05:37:14 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-04-16 08:37:14 -0400 |
commit | 6e2cb00008cbf09e556b00f87603797fcaa47e09 (patch) | |
tree | 3c0eb55ff4226a3f024aad373140d1fb860a6404 /vendor/github.com/icrowley/fake/names_test.go | |
parent | bf24f51c4e1cc6286885460672f7f449e8c6f5ef (diff) | |
download | chat-6e2cb00008cbf09e556b00f87603797fcaa47e09.tar.gz chat-6e2cb00008cbf09e556b00f87603797fcaa47e09.tar.bz2 chat-6e2cb00008cbf09e556b00f87603797fcaa47e09.zip |
Depenancy upgrades and movign to dep. (#8630)
Diffstat (limited to 'vendor/github.com/icrowley/fake/names_test.go')
-rw-r--r-- | vendor/github.com/icrowley/fake/names_test.go | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/vendor/github.com/icrowley/fake/names_test.go b/vendor/github.com/icrowley/fake/names_test.go deleted file mode 100644 index 0f620ff14..000000000 --- a/vendor/github.com/icrowley/fake/names_test.go +++ /dev/null @@ -1,101 +0,0 @@ -package fake - -import ( - "testing" -) - -func TestNames(t *testing.T) { - for _, lang := range GetLangs() { - SetLang(lang) - - v := MaleFirstName() - if v == "" { - t.Errorf("MaleFirstName failed with lang %s", lang) - } - - v = FemaleFirstName() - if v == "" { - t.Errorf("FemaleFirstName failed with lang %s", lang) - } - - v = FirstName() - if v == "" { - t.Errorf("FirstName failed with lang %s", lang) - } - - v = MaleLastName() - if v == "" { - t.Errorf("MaleLastName failed with lang %s", lang) - } - - v = FemaleLastName() - if v == "" { - t.Errorf("FemaleLastName failed with lang %s", lang) - } - - v = LastName() - if v == "" { - t.Errorf("LastName failed with lang %s", lang) - } - - v = MalePatronymic() - if v == "" { - t.Errorf("MalePatronymic failed with lang %s", lang) - } - - v = FemalePatronymic() - if v == "" { - t.Errorf("FemalePatronymic failed with lang %s", lang) - } - - v = Patronymic() - if v == "" { - t.Errorf("Patronymic failed with lang %s", lang) - } - - v = MaleFullNameWithPrefix() - if v == "" { - t.Errorf("MaleFullNameWithPrefix failed with lang %s", lang) - } - - v = FemaleFullNameWithPrefix() - if v == "" { - t.Errorf("FemaleFullNameWithPrefix failed with lang %s", lang) - } - - v = FullNameWithPrefix() - if v == "" { - t.Errorf("FullNameWithPrefix failed with lang %s", lang) - } - - v = MaleFullNameWithSuffix() - if v == "" { - t.Errorf("MaleFullNameWithSuffix failed with lang %s", lang) - } - - v = FemaleFullNameWithSuffix() - if v == "" { - t.Errorf("FemaleFullNameWithSuffix failed with lang %s", lang) - } - - v = FullNameWithSuffix() - if v == "" { - t.Errorf("FullNameWithSuffix failed with lang %s", lang) - } - - v = MaleFullName() - if v == "" { - t.Errorf("MaleFullName failed with lang %s", lang) - } - - v = FemaleFullName() - if v == "" { - t.Errorf("FemaleFullName failed with lang %s", lang) - } - - v = FullName() - if v == "" { - t.Errorf("FullName failed with lang %s", lang) - } - } -} |