This commit is contained in:
Julien Neuhart
2019-08-18 20:03:47 +02:00
parent 4f3fe28905
commit bcf06f0d69
5 changed files with 54 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
package normalize
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestString(t *testing.T) {
const (
toNormalize string = "analise da aplicação"
expected string = "analise da aplicacao"
)
v, err := String(toNormalize)
assert.Nil(t, err)
assert.Equal(t, expected, v)
}