mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 08:32:16 +01:00
18 lines
302 B
Go
18 lines
302 B
Go
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)
|
|
}
|