applied some of the changes from #149

This commit is contained in:
Gani Georgiev committed 2022-07-18 01:03:09 +03:00
1 parent 7f959011b8
commit 9a231ba7b3
6 files changed
+15 -17

No files matched your search

+4
View File
@@ -12,6 +12,7 @@ func TestUcFirst(t *testing.T) {
expected string
}{
{"", ""},
{" ", " "},
{"Test", "Test"},
{"test", "Test"},
{"test test2", "Test test2"},
@@ -55,6 +56,9 @@ func TestSentenize(t *testing.T) {
}{
{"", ""},
{" ", ""},
{".", "."},
{"?", "?"},
{"!", "!"},
{"Test", "Test."},
{" test ", "Test."},
{"hello world", "Hello world."},